Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b78dd1b

Browse files
committedNov 30, 2023
Avoid race condition in tests.
See #2787
1 parent 66f9f50 commit b78dd1b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/test/java/org/springframework/data/redis/cache/RedisCacheTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,6 @@ void retrieveReturnsLoadedValue() throws Exception {
649649

650650
CompletableFuture<Person> value = cache.retrieve(this.key, valueLoaderSupplier);
651651

652-
assertThat(loaded.get()).isFalse();
653652
assertThat(value.get()).isEqualTo(jon);
654653
assertThat(loaded.get()).isTrue();
655654
assertThat(value).isDone();

0 commit comments

Comments
 (0)
Please sign in to comment.