Skip to content

Commit b35e3d8

Browse files
committed
remove vmlens from gitignore, add failing test to check if vmlens still works
Signed-off-by: christian.lutnik <[email protected]>
1 parent bfc1db3 commit b35e3d8

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ target
1313

1414
# used for spec compliance tooling
1515
java-report.json
16-
17-
# vmlens stuff
18-
/vmlens-agent/vmlens/

src/test/java/dev/openfeature/sdk/vmlens/VmLensTest.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package dev.openfeature.sdk.vmlens;
22

33
import static org.assertj.core.api.Assertions.assertThat;
4+
import static org.hamcrest.MatcherAssert.assertThat;
45
import static org.junit.jupiter.api.Assertions.assertEquals;
56
import static org.junit.jupiter.api.Assertions.assertTrue;
67

@@ -35,6 +36,16 @@ void tearDown() {
3536
api.shutdown();
3637
}
3738

39+
@Test
40+
void fail() {
41+
try (AllInterleavings allInterleavings =
42+
new AllInterleavings("Concurrently setting the context and evaluating a flag")) {
43+
while (allInterleavings.hasNext()) {
44+
assertThat(false).isIn(true);
45+
}
46+
}
47+
}
48+
3849
@Test
3950
void concurrentClientCreations() {
4051
try (AllInterleavings allInterleavings = new AllInterleavings("Concurrent creations of the Client")) {

0 commit comments

Comments
 (0)