Skip to content

Commit 9881fa0

Browse files
committed
fix
1 parent 2246fcd commit 9881fa0

File tree

1 file changed

+11
-91
lines changed

1 file changed

+11
-91
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ITPodsRestart.java

Lines changed: 11 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -199,101 +199,21 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
199199
try {
200200
ExecAndPrintLog("docker images");
201201
String images1[] = {
202-
"9de773965c6b",
203-
"5c523ecea17f",
204-
"634ab59891b8",
205-
"c9ea22528100",
206-
"77979f22eea8",
207-
"5261b5bb1682",
208-
"fa63a9fa105a",
209-
"b52f5dd28662",
210-
"52c5109f9ad9",
211-
"e6205477ca28",
212-
"9b54850cad70",
213-
"a3c1f631d78b",
214-
"321290079459",
215-
"0abdfd581194",
216-
"46641d6abd6a",
202+
"aa168fda9148",
203+
"f4ebe13a774d",
204+
"1a0416dcad6b",
205+
"11311c769c45",
206+
"752895b7af34",
207+
"f284edce6956",
208+
"27ded50d518c",
209+
"6cdb96a19a82",
217210
"4d0e7bd02c03",
218-
"4d0e7bd02c03",
219-
"aaea54bce1ea",
220-
"1b2806e9b91b",
221-
"26310d8c7e81",
222-
"b8d808b2fc8c",
223-
"a570b3a13826",
224-
"e81b76899dd9",
225-
"060dff5892a6",
226-
"1f1b15e1640a",
227-
"83d42e23d7b5",
228-
"ca9b2c67199a",
229-
"1997b422fe38",
230-
"f8356b77b86a",
231-
"6cbdf81e788b",
232-
"d2659213623e",
233-
"373153704253",
234-
"584151651c94",
235-
"d1b3d8091750",
236-
"1af5e0f6d09f",
237-
"1eb1067c8bc1",
238-
"d4b8f09c756c",
239-
"20853267c6cd",
240-
"a9436d968bd6",
241-
"40f75e58f1b8",
242-
"18794492338f",
243-
"9cec71b9f912",
244-
"a75eca5a040a",
245-
"f4cd13108db7",
246-
"a25cb4eeaacd",
247-
"1ccec66cf648",
248-
"03aae768cc41",
249-
"d1e87f62f9a1",
250-
"180b1ae20d0b",
251-
"e3098cafb0d6",
252-
"74bc3f982470",
253-
"d3efd9b5d292",
254-
"ddf1f76315de",
255-
"1b5a237afc1e",
256-
"bef9fd7ffdb0",
257-
"963a3f8a3b1d",
258-
"a3b2f2fa2c91",
259-
"c8f1bcbd4825",
260-
"97c40ae16c56",
261-
"44abca094a5b",
262-
"fafe74bcdf98",
263-
"944d31a10b23",
264-
"f1febf596a81",
265-
"efc87baca08f",
266-
"48072f5521f8",
267-
"ac47af0772dd",
268-
"84321a1dbd53",
269-
"1802f7158e13",
270-
"307fe1f9cc96",
271-
"7e23b521d1be",
272-
"d815f1273f3a",
273-
"e33cfeb1defc",
274-
"4f45aa601eef",
275-
"6053dbc2d144",
276-
"7c4672911c1c",
277-
"0224d6384efc",
278-
"ec52e4bf2e5a",
279-
"e927f202c152",
280-
"4c40c13af322",
281-
"e9a1a5eff9c4",
211+
"85dfdb97e0de",
282212
"d58f0d158db5",
283213
"d58f0d158db5"
284214
};
285-
String images[] = {
286-
System.getenv("REPO_REGISTRY") + "/weblogick8s/weblogic-kubernetes-operator",
287-
System.getenv("REPO_REGISTRY") + "/weblogick8s/domain-home-in-image",
288-
"domain-home-in-image",
289-
"domain-home-in-image-wdt",
290-
System.getenv("REPO_REGISTRY") + "/weblogick8s/wdt/wls",
291-
"oracle/weblogic-kubernetes-operator",
292-
"store/oracle/weblogic",
293-
System.getenv("REPO_REGISTRY") + "/weblogick8s/store/oracle/weblogic"
294-
};
295215
for (String image : images1) {
296-
ExecAndPrintLog("docker rmi " + image);
216+
ExecAndPrintLog("docker rmi -f " + image);
297217
}
298218
ExecAndPrintLog("docker images");
299219
logger.info(
@@ -392,7 +312,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
392312
private void ExecAndPrintLog(String command) throws Exception {
393313
ExecResult result = ExecCommand.exec(command);
394314
logger.info(
395-
"Command "
315+
"\nCommand "
396316
+ command
397317
+ "\nreturn value: "
398318
+ result.exitValue()

0 commit comments

Comments
 (0)