Skip to content

Commit 01e600c

Browse files
committed
Fix AccumuloStoreFateIT.testCreateWithKeyInProgress
1 parent 5d8d9cd commit 01e600c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/src/main/java/org/apache/accumulo/test/fate/accumulo/FateStoreIT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ protected void testCreateWithKeyInProgress(FateStore<TestEnv> store, ServerConte
332332
FateKey fateKey = FateKey.forSplit(ke);
333333

334334
FateTxStore<TestEnv> txStore = store.createAndReserve(fateKey).orElseThrow();
335-
;
335+
336336
try {
337337
assertTrue(txStore.timeCreated() > 0);
338338
txStore.setStatus(TStatus.IN_PROGRESS);
@@ -342,6 +342,7 @@ protected void testCreateWithKeyInProgress(FateStore<TestEnv> store, ServerConte
342342
assertTrue(create(store, fateKey).isEmpty());
343343
assertEquals(TStatus.IN_PROGRESS, txStore.getStatus());
344344
} finally {
345+
txStore.setStatus(TStatus.SUCCESSFUL);
345346
txStore.delete();
346347
txStore.unreserve(0, TimeUnit.SECONDS);
347348
}

0 commit comments

Comments
 (0)