Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
The methods SecondaryIndexManagerTest.assertMarkedAsBuilt and SecondaryIndexManagerTest.assertNotMarkedAsBuilt produce occasional test failures.
These methods assume that there aren't any other indexes in the system.IndexInfo table than those created by the calling test. However, it is possible to find indexes built for other tests (not only SecondaryIndexManagerTest) that rely on CQLTester.afterTest to cleanup to drop their created indexes, because this method is asynchronous. So, it is possible to reach the SecondaryIndexManagerTest.assert(Not)MarkedAsBuilt calls before the indexes created by the previous test have been cleaned up.
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-14068 unittest failed: SecondaryIndexManagerTest.cannotRebuildWhileAnotherRebuildIsInProgress
- Resolved