File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
src/test/java/dev/openfeature/sdk/vmlens Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -72,23 +72,6 @@ void concurrentFlagEvaluations() {
7272 }
7373 }
7474
75- /*
76- @Test
77- void concurrentFlagEvaluationsAndHookAdditions() {
78- System.out.println("VmLensTest.concurrentFlagEvaluationsAndHookAdditions");
79- var client = api.getClient();
80- try (AllInterleavings allInterleavings = new AllInterleavings("Concurrent evaluations and hook additions")) {
81- while (allInterleavings.hasNext()) {
82- System.out.println("iteration");
83- Runner.runParallel(
84- () -> client.getStringValue("a", "a"),
85- () -> client.addHooks(new StringHook() {}));
86- }
87- }
88- // keep the linter happy
89- assertTrue(true);
90- }*/
91-
9275 @ Test
9376 void concurrentContextSetting () {
9477 System .out .println ("VmLensTest.concurrentContextSetting" );
@@ -104,17 +87,4 @@ void concurrentContextSetting() {
10487 }
10588 }
10689 }
107-
108- @ Test
109- void plsFail () {
110- System .out .println ("VmLensTest.plsFail" );
111- try (AllInterleavings allInterleavings = new AllInterleavings ("pls fails" )) {
112- while (allInterleavings .hasNext ()) {
113- System .out .println ("iteration" );
114- final int [] i = new int [1 ];
115- Runner .runParallel (() -> i [0 ]++, () -> i [0 ]++);
116- assertEquals (2 , i [0 ]);
117- }
118- }
119- }
12090}
You can’t perform that action at this time.
0 commit comments