Skip to content
Permalink
Browse files
IGNITE-16515 Fix flaky RocksDbSortedIndexStorageTest (#650)
  • Loading branch information
sashapolo committed Feb 9, 2022
1 parent 86ed4f7 commit 63e53cc5b15648efec250a0e66f1c21e1ac15928
Showing 1 changed file with 4 additions and 0 deletions.
@@ -402,6 +402,10 @@ private List<ColumnDefinition> shuffledDefinitions(Predicate<ColumnDefinition> f
.filter(filter)
.collect(toList());

if (shuffledDefinitions.isEmpty()) {
shuffledDefinitions = new ArrayList<>(ALL_TYPES_COLUMN_DEFINITIONS);
}

Collections.shuffle(shuffledDefinitions, random);

if (log.isInfoEnabled()) {

0 comments on commit 63e53cc

Please sign in to comment.