mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 15:05:33 +00:00
Fix PackagingTestCase for DOCKER_UBI variant
This commit is contained in:
parent
bd7236cd65
commit
d0c57c3068
@ -220,6 +220,7 @@ public abstract class PackagingTestCase extends Assert {
|
||||
Packages.verifyPackageInstallation(installation, distribution, sh);
|
||||
break;
|
||||
case DOCKER:
|
||||
case DOCKER_UBI:
|
||||
installation = Docker.runContainer(distribution);
|
||||
Docker.verifyContainerInstallation(installation, distribution);
|
||||
break;
|
||||
@ -295,6 +296,7 @@ public abstract class PackagingTestCase extends Assert {
|
||||
case RPM:
|
||||
return Packages.runElasticsearchStartCommand(sh);
|
||||
case DOCKER:
|
||||
case DOCKER_UBI:
|
||||
// nothing, "installing" docker image is running it
|
||||
return Shell.NO_OP;
|
||||
default:
|
||||
@ -313,6 +315,7 @@ public abstract class PackagingTestCase extends Assert {
|
||||
Packages.stopElasticsearch(sh);
|
||||
break;
|
||||
case DOCKER:
|
||||
case DOCKER_UBI:
|
||||
// nothing, "installing" docker image is running it
|
||||
break;
|
||||
default:
|
||||
@ -332,6 +335,7 @@ public abstract class PackagingTestCase extends Assert {
|
||||
Packages.assertElasticsearchStarted(sh, installation);
|
||||
break;
|
||||
case DOCKER:
|
||||
case DOCKER_UBI:
|
||||
Docker.waitForElasticsearchToStart();
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user