@@ -308,7 +308,6 @@ def check_common_keys(self, log_output, role):
308308 assert log_output ["all" ]["vars" ]["shc_sync_retry_num" ] == 60
309309 assert log_output ["all" ]["vars" ]["splunk" ]["group" ] == "splunk"
310310 assert log_output ["all" ]["vars" ]["splunk" ]["license_download_dest" ] == "/tmp/splunk.lic"
311- assert log_output ["all" ]["vars" ]["splunk" ]["nfr_license" ] == "/tmp/nfr_enterprise.lic"
312311 assert log_output ["all" ]["vars" ]["splunk" ]["opt" ] == "/opt"
313312 assert log_output ["all" ]["vars" ]["splunk" ]["user" ] == "splunk"
314313
@@ -1889,6 +1888,13 @@ def test_compose_1so_java_oracle(self):
18891888 exec_command = self .client .exec_create ("so1" , "java -version" )
18901889 std_out = self .client .exec_start (exec_command )
18911890 assert "java version \" 1.8.0" in std_out
1891+ # Restart the container and make sure java is still installed
1892+ self .client .restart ("so1" )
1893+ assert self .wait_for_containers (container_count , label = "com.docker.compose.project={}" .format (self .project_name ))
1894+ assert self .check_splunkd ("admin" , self .password )
1895+ exec_command = self .client .exec_create ("so1" , "java -version" )
1896+ std_out = self .client .exec_start (exec_command )
1897+ assert "java version \" 1.8.0" in std_out
18921898
18931899 def test_compose_1so_java_openjdk8 (self ):
18941900 # Standup deployment
@@ -1915,6 +1921,13 @@ def test_compose_1so_java_openjdk8(self):
19151921 exec_command = self .client .exec_create ("so1" , "java -version" )
19161922 std_out = self .client .exec_start (exec_command )
19171923 assert "openjdk version \" 1.8.0" in std_out
1924+ # Restart the container and make sure java is still installed
1925+ self .client .restart ("so1" )
1926+ assert self .wait_for_containers (container_count , label = "com.docker.compose.project={}" .format (self .project_name ))
1927+ assert self .check_splunkd ("admin" , self .password )
1928+ exec_command = self .client .exec_create ("so1" , "java -version" )
1929+ std_out = self .client .exec_start (exec_command )
1930+ assert "openjdk version \" 1.8.0" in std_out
19181931
19191932 def test_compose_1so_java_openjdk11 (self ):
19201933 # Standup deployment
@@ -1941,6 +1954,13 @@ def test_compose_1so_java_openjdk11(self):
19411954 exec_command = self .client .exec_create ("so1" , "java -version" )
19421955 std_out = self .client .exec_start (exec_command )
19431956 assert "openjdk version \" 11.0.2" in std_out
1957+ # Restart the container and make sure java is still installed
1958+ self .client .restart ("so1" )
1959+ assert self .wait_for_containers (container_count , label = "com.docker.compose.project={}" .format (self .project_name ))
1960+ assert self .check_splunkd ("admin" , self .password )
1961+ exec_command = self .client .exec_create ("so1" , "java -version" )
1962+ std_out = self .client .exec_start (exec_command )
1963+ assert "openjdk version \" 11.0.2" in std_out
19441964
19451965 def test_compose_1so_hec (self ):
19461966 # Standup deployment
0 commit comments