@@ -65,12 +65,14 @@ private void setupOperatorAndDomain(String operatorGitRelease, String operatorRe
65
65
dom_ns .add (DOM_NS );
66
66
operatorMap .put ("domainNamespaces" , dom_ns );
67
67
operator20 = TestUtils .createOperator (operatorMap , Operator .RESTCertType .LEGACY );
68
+ TestUtils .ExecAndPrintLog ("kubectl get all --all-namespaces" );
68
69
69
70
Map <String , Object > wlstDomainMap = TestUtils .loadYaml (DOMAININIMAGE_WLST_YAML );
70
71
wlstDomainMap .put ("domainUID" , DUID );
71
72
wlstDomainMap .put ("namespace" , DOM_NS );
72
73
wlstDomainMap .put ("projectRoot" , opUpgradeTmpDir + "/weblogic-kubernetes-operator" );
73
74
domain = TestUtils .createDomain (wlstDomainMap );
75
+ TestUtils .ExecAndPrintLog ("kubectl get all --all-namespaces" );
74
76
domain .verifyDomainCreated ();
75
77
// testBasicUseCases(domain);
76
78
// testClusterScaling(operator20, domain);
@@ -91,6 +93,7 @@ public void cleanupOperatorAndDomain() throws Exception {
91
93
ExecResult result = cleanup ();
92
94
logger .log (Level .INFO , "cleanup stdout\n " + result .stdout ());
93
95
logger .log (Level .INFO , "cleanup stderr\n " + result .stderr ());
96
+ TestUtils .ExecAndPrintLog ("helm del --purge operator-upgrade" );
94
97
TestUtils .ExecAndPrintLog (
95
98
"kubectl delete pods,services,deployments,replicasets,configmaps,services --all --grace-period=0 --force --ignore-not-found -n "
96
99
+ OP_NS );
@@ -101,6 +104,7 @@ public void cleanupOperatorAndDomain() throws Exception {
101
104
"kubectl delete crd --all --grace-period=0 --ignore-not-found --force" );
102
105
TestUtils .ExecAndPrintLog ("kubectl delete ns weblogic-operator --ignore-not-found --force" );
103
106
TestUtils .ExecAndPrintLog ("kubectl delete ns weblogic-domain --ignore-not-found --force" );
107
+ TestUtils .ExecAndPrintLog ("kubectl get all --all-namespaces" );
104
108
logger .log (Level .INFO , "+++++++++++++++Done AfterTest cleanup+++++++++++++++++++++" );
105
109
}
106
110
0 commit comments