File tree 1 file changed +15
-0
lines changed
src/test/java/hudson/matrix
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,21 @@ public void testApi() throws Exception {
83
83
assertEquals (4 , xml .getByXPath ("//matrixProject/activeConfiguration" ).size ());
84
84
}
85
85
86
+ @ Issue ("JENKINS-27162" )
87
+ public void testCompletedLogging () throws Exception {
88
+ MatrixProject project = createMatrixProject ();
89
+ project .setAxes (new AxisList (
90
+ new Axis ("axis" , "a" , "b" )
91
+ ));
92
+ ((DefaultMatrixExecutionStrategyImpl ) project .getExecutionStrategy ())
93
+ .setTouchStoneCombinationFilter ("axis == 'a'" )
94
+ ;
95
+
96
+ MatrixBuild build = project .scheduleBuild2 (0 ).get ();
97
+ assertLogContains ("test0 » a completed with result SUCCESS" , build );
98
+ assertLogContains ("test0 » b completed with result SUCCESS" , build );
99
+ }
100
+
86
101
@ Issue ("SECURITY-125" )
87
102
public void testCombinationFilterSecurity () throws Exception {
88
103
MatrixProject project = createMatrixProject ();
You can’t perform that action at this time.
0 commit comments