File tree Expand file tree Collapse file tree 2 files changed +1
-26
lines changed
src/test/java/dev/openfeature/sdk/vmlens Expand file tree Collapse file tree 2 files changed +1
-26
lines changed Original file line number Diff line number Diff line change 41
41
restore-keys : |
42
42
${{ runner.os }}${{ matrix.build.java }}-maven-
43
43
44
- - if : matrix.build.java == '17'
45
- name : Verify
46
- run : mvn --batch-mode --update-snapshots --activate-profiles e2e,${{ matrix.build.profile }} verify
47
-
48
- - if : matrix.build.java != '17'
49
- name : Verify
44
+ - name : Verify with Maven
50
45
run : mvn --batch-mode --update-snapshots --activate-profiles e2e,${{ matrix.build.profile }} verify
51
46
52
47
- if : matrix.build.java == '17'
Original file line number Diff line number Diff line change 26
26
class VmLensTest {
27
27
final OpenFeatureAPI api = OpenFeatureAPITestUtil .createAPI ();
28
28
29
- // todo add tests:
30
- // concurrent changing of context thorugh client.setctx... and flags with a targeting rule depending on that context
31
- // concurrent setting of context thorugh client.setctx... and flags with a targeting rule depending on that context
32
- // concurrent changing of context through a hook and flags with a targeting rule depending on that context
33
- // concurrent setting of context through a hook and flags with a targeting rule depending on that context
34
-
35
29
@ BeforeEach
36
30
void setUp () {
37
31
var flags = new HashMap <String , Flag <?>>();
@@ -92,18 +86,4 @@ void concurrentContextSetting() {
92
86
}
93
87
}
94
88
}
95
-
96
- @ Test
97
- void fails () {
98
- int [] i = new int [] {0 };
99
- try (AllInterleavings allInterleavings = new AllInterleavings ("pls fail!" )) {
100
- while (allInterleavings .hasNext ()) {
101
- Runner .runParallel (
102
- () -> i [0 ]++,
103
- () -> i [0 ]++
104
- );
105
- assertTrue (i [0 ] > 0 );
106
- }
107
- }
108
- }
109
89
}
You can’t perform that action at this time.
0 commit comments