Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-17681

Fix unstable consumer_test.py#test_fencing_static_consumer

    XMLWordPrintableJSON

Details

    Description

          AssertionError('Static consumers attempt to join with instance id in use should not cause a rebalance.')
      Traceback (most recent call last):
        File "/usr/local/lib/python3.9/dist-packages/ducktape/tests/runner_client.py", line 186, in _do_run
          data = self.run_test()
        File "/usr/local/lib/python3.9/dist-packages/ducktape/tests/runner_client.py", line 246, in run_test
          return self.test_context.function(self.test)
        File "/usr/local/lib/python3.9/dist-packages/ducktape/mark/_mark.py", line 433, in wrapper
          return functools.partial(f, *args, **kwargs)(*w_args, **w_kwargs)
        File "/opt/kafka-dev/tests/kafkatest/tests/client/consumer_test.py", line 359, in test_fencing_static_consumer
          assert num_rebalances == consumer.num_rebalances(), "Static consumers attempt to join with instance id in use should not cause a rebalance. before: " + str(num_rebalances) + " after: " + str(consumer.num_rebalances())
      AssertionError: Static consumers attempt to join with instance id in use should not cause a rebalance.
      

      Attachments

        Activity

          People

            chia7712 Chia-Ping Tsai
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: