File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
src/test/java/dev/openfeature/sdk/vmlens Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1313
1414# used for spec compliance tooling
1515java-report.json
16-
17- # vmlens stuff
18- /vmlens-agent /vmlens /
Original file line number Diff line number Diff line change 11package dev .openfeature .sdk .vmlens ;
22
33import static org .assertj .core .api .Assertions .assertThat ;
4+ import static org .hamcrest .MatcherAssert .assertThat ;
45import static org .junit .jupiter .api .Assertions .assertEquals ;
56import 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" )) {
You can’t perform that action at this time.
0 commit comments