File tree 5 files changed +7
-9
lines changed
operator-framework/src/test/java/com/github/containersolutions/operator
5 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 13
13
java : [8, 11]
14
14
steps :
15
15
- uses : actions/checkout@v2
16
- - uses : actions/cache@v1
16
+ - uses : actions/cache@v2
17
17
with :
18
18
path : ~/.m2/repository
19
19
key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Original file line number Diff line number Diff line change @@ -66,9 +66,7 @@ public void eventsAreNotExecutedConcurrentlyForSameResource() throws Interrupted
66
66
.matches (list -> eventProcessingList .get (0 ).getCustomResource ().getMetadata ().getResourceVersion ().equals ("1" ) &&
67
67
eventProcessingList .get (1 ).getCustomResource ().getMetadata ().getResourceVersion ().equals ("2" ),
68
68
"Events processed in correct order" )
69
- .matches (list ->
70
- eventProcessingList .get (0 ).getEndTime ().isBefore (eventProcessingList .get (1 ).startTime ),
71
- "Start time of event 2 is after end time of event 1" );
69
+ .matches (list -> eventExecutedBefore (0 , 1 ));
72
70
}
73
71
74
72
@ Test
Original file line number Diff line number Diff line change 51
51
<dependency >
52
52
<groupId >org.apache.commons</groupId >
53
53
<artifactId >commons-lang3</artifactId >
54
- <version >3.8.1 </version >
54
+ <version >3.10 </version >
55
55
</dependency >
56
56
<dependency >
57
57
<groupId >org.slf4j</groupId >
72
72
<dependency >
73
73
<groupId >org.mockito</groupId >
74
74
<artifactId >mockito-core</artifactId >
75
- <version >3.0.0 </version >
75
+ <version >3.3.3 </version >
76
76
<scope >test</scope >
77
77
</dependency >
78
78
<dependency >
79
79
<groupId >org.springframework</groupId >
80
80
<artifactId >spring-core</artifactId >
81
- <version >5.2.5 .RELEASE</version >
81
+ <version >5.2.7 .RELEASE</version >
82
82
<scope >compile</scope >
83
83
</dependency >
84
84
</dependencies >
Original file line number Diff line number Diff line change 58
58
<plugin >
59
59
<groupId >com.spotify</groupId >
60
60
<artifactId >dockerfile-maven-plugin</artifactId >
61
- <version >1.4.12 </version >
61
+ <version >1.4.13 </version >
62
62
<configuration >
63
63
<repository >${docker-registry} /mysql-schema-operator</repository >
64
64
<tag >${project.version} </tag >
Original file line number Diff line number Diff line change 53
53
<plugin >
54
54
<groupId >com.spotify</groupId >
55
55
<artifactId >dockerfile-maven-plugin</artifactId >
56
- <version >1.4.12 </version >
56
+ <version >1.4.13 </version >
57
57
<configuration >
58
58
<repository >webserver-operator</repository >
59
59
<tag >latest</tag >
You can’t perform that action at this time.
0 commit comments