File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
integration-tests/src/test/java/oracle/weblogic/kubernetes Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 8
8
import java .util .List ;
9
9
import java .util .Map ;
10
10
11
+ import oracle .weblogic .kubernetes .actions .impl .UniqueName ;
11
12
import oracle .weblogic .kubernetes .actions .impl .primitive .Command ;
12
13
import oracle .weblogic .kubernetes .actions .impl .primitive .CommandParams ;
13
14
import oracle .weblogic .kubernetes .annotations .IntegrationTest ;
50
51
import static oracle .weblogic .kubernetes .actions .TestActions .imagePull ;
51
52
import static oracle .weblogic .kubernetes .actions .TestActions .imagePush ;
52
53
import static oracle .weblogic .kubernetes .actions .TestActions .imageTag ;
54
+ import static oracle .weblogic .kubernetes .utils .CommonTestUtils .backupReports ;
53
55
import static oracle .weblogic .kubernetes .utils .CommonTestUtils .getUniqueName ;
56
+ import static oracle .weblogic .kubernetes .utils .CommonTestUtils .restoreReports ;
54
57
import static oracle .weblogic .kubernetes .utils .ImageUtils .createBaseRepoSecret ;
55
58
import static oracle .weblogic .kubernetes .utils .ImageUtils .createTestRepoSecret ;
56
59
import static oracle .weblogic .kubernetes .utils .ThreadSafeLogger .getLogger ;
@@ -174,7 +177,9 @@ static void initAll(@Namespaces(3) List<String> namespaces) {
174
177
@ Test
175
178
@ Order (1 )
176
179
void testInstallOperator () {
180
+ String backupReports = backupReports (UniqueName .uniqueName (this .getClass ().getSimpleName ()));
177
181
execTestScriptAndAssertSuccess ("-oper" , "Failed to run -oper" );
182
+ restoreReports (backupReports );
178
183
}
179
184
180
185
/**
Original file line number Diff line number Diff line change 8
8
import java .util .List ;
9
9
import java .util .Map ;
10
10
11
+ import oracle .weblogic .kubernetes .actions .impl .UniqueName ;
11
12
import oracle .weblogic .kubernetes .actions .impl .primitive .Command ;
12
13
import oracle .weblogic .kubernetes .actions .impl .primitive .CommandParams ;
13
14
import oracle .weblogic .kubernetes .annotations .IntegrationTest ;
51
52
import static oracle .weblogic .kubernetes .actions .TestActions .imagePull ;
52
53
import static oracle .weblogic .kubernetes .actions .TestActions .imagePush ;
53
54
import static oracle .weblogic .kubernetes .actions .TestActions .imageTag ;
55
+ import static oracle .weblogic .kubernetes .utils .CommonTestUtils .backupReports ;
54
56
import static oracle .weblogic .kubernetes .utils .CommonTestUtils .getUniqueName ;
57
+ import static oracle .weblogic .kubernetes .utils .CommonTestUtils .restoreReports ;
55
58
import static oracle .weblogic .kubernetes .utils .ImageUtils .createBaseRepoSecret ;
56
59
import static oracle .weblogic .kubernetes .utils .ImageUtils .createTestRepoSecret ;
57
60
import static oracle .weblogic .kubernetes .utils .ThreadSafeLogger .getLogger ;
@@ -162,7 +165,9 @@ public static void initAll(@Namespaces(3) List<String> namespaces) {
162
165
@ Test
163
166
@ Order (1 )
164
167
public void testInstallOperator () {
168
+ String backupReports = backupReports (UniqueName .uniqueName (this .getClass ().getSimpleName ()));
165
169
execTestScriptAndAssertSuccess ("-oper" , "Failed to run -oper" );
170
+ restoreReports (backupReports );
166
171
}
167
172
168
173
/**
You can’t perform that action at this time.
0 commit comments