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

tests are running forever

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      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);

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: