From 1c326b59b3b0800203cc8c859bb4e783db321f7b Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Wed, 28 Aug 2024 10:08:00 +0200 Subject: [PATCH] Adopt tests for C*2 (#9426) --- .../versioned/storage/commontests/AbstractBasePersistTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned/storage/common-tests/src/main/java/org/projectnessie/versioned/storage/commontests/AbstractBasePersistTests.java b/versioned/storage/common-tests/src/main/java/org/projectnessie/versioned/storage/commontests/AbstractBasePersistTests.java index b972ac885cc..aff9ad27216 100644 --- a/versioned/storage/common-tests/src/main/java/org/projectnessie/versioned/storage/commontests/AbstractBasePersistTests.java +++ b/versioned/storage/common-tests/src/main/java/org/projectnessie/versioned/storage/commontests/AbstractBasePersistTests.java @@ -1473,7 +1473,7 @@ public void conditionalUpdate() throws Exception { } private void cassandraDeleteTombstoneSleep(long t) throws InterruptedException { - if ("Cassandra".equals(persist.name())) { + if (persist.name().startsWith("Cassandra")) { // MUST sleep here, otherwise the tombstone's timestamp might be equal to the INSERT's // timestamp of the storeObj() below, which would wrongly shadow the write's timestamp. long sleepMillis = t + 2 - System.currentTimeMillis();