Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5718

tests are running forever

XMLWordPrintable

    • False
    • None
    • False

      Bug report

      In some cases the tests are running forever

      What behaviour do you expect?

      Tests should fail after a period of time

      What behaviour do you see?

      Test is running forever

       

      In AbstractCommitLogProcessorTest class, this line:

      await().forever().until(() -> context.getSchemaHolder().getKeyValueSchema(new KeyspaceTable(TEST_KEYSPACE_NAME, TEST_TABLE_NAME)) != null);

      makes the test to run forever

       

      It should be something like:

      await().atMost(10, TimeUnit.SECONDS).until(() -> context.getSchemaHolder().getKeyValueSchema(new KeyspaceTable(TEST_KEYSPACE_NAME, TEST_TABLE_NAME)) != null);

       

              Unassigned Unassigned
              ggaborg Gabor Andras (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: