src/integration-test/java/GreengrassBuildWithDockerDeploymentsIT.java
@Test
    public void shouldReuseJavaFunctionWithDocker() throws IOException {
        File tempDeploymentConfFile = greengrassITShared.setupReusedFunctionDeploymentConf(Optional.empty(), GreengrassITShared.BENCHMARK_JAVA_PROD_PARTIAL, greengrassITShared.getGroupName());

        // Build it
        runContainer(greengrassITShared.getBenchmarkDeploymentCommand(Optional.empty()), EXIT_CODE_IS_ZERO);

        // Try to reuse it
        runContainer(greengrassITShared.getReusedFunctionDeploymentCommand(tempDeploymentConfFile), EXIT_CODE_IS_ZERO);
    }
// Test set 12: Reuse Java benchmark in another group with Docker
Test set 12: Reuse Java benchmark in another group with Docker
Test set 12 : Reuse Java benchmark in another group with Docker
@Test
    public void shouldReuseJavaFunctionWithDocker() throws IOException {
        File tempDeploymentConfFile = greengrassITShared.setupReusedFunctionDeploymentConf(Optional.empty(), GreengrassITShared.BENCHMARK_JAVA_PROD_PARTIAL, greengrassITShared.getGroupName());
        runContainer(greengrassITShared.getBenchmarkDeploymentCommand(Optional.empty()), EXIT_CODE_IS_ZERO);
        runContainer(greengrassITShared.getReusedFunctionDeploymentCommand(tempDeploymentConfFile), EXIT_CODE_IS_ZERO);
    }
@ Test public void shouldReuseJavaFunctionWithDocker ( ) throws IOException { File tempDeploymentConfFile = greengrassITShared . setupReusedFunctionDeploymentConf ( Optional . empty ( ) , GreengrassITShared . BENCHMARK_JAVA_PROD_PARTIAL , greengrassITShared . getGroupName ( ) ) ; runContainer ( greengrassITShared . getBenchmarkDeploymentCommand ( Optional . empty ( ) ) , EXIT_CODE_IS_ZERO ) ; runContainer ( greengrassITShared . getReusedFunctionDeploymentCommand ( tempDeploymentConfFile ) , EXIT_CODE_IS_ZERO ) ; }
Test set 12: Reuse Java benchmark in another group with Docker
Test set 12 : Reuse Java benchmark in another group with Docker
// Build it // Try to reuse it