@@ -70,28 +70,6 @@ def test_splunk_entrypoint_help(self):
70
70
assert "SPLUNK_HOME - home directory where Splunk gets installed (default: /opt/splunk)" in output
71
71
assert "Examples:" in output
72
72
73
- def test_splunk_scloud (self ):
74
- cid = None
75
- try :
76
- # Run container
77
- cid = self .client .create_container (self .SPLUNK_IMAGE_NAME , tty = True , command = "no-provision" )
78
- cid = cid .get ("Id" )
79
- self .client .start (cid )
80
- # Wait a bit
81
- time .sleep (5 )
82
- # If the container is still running, we should be able to exec inside
83
- # Check that the version returns successfully for multiple users
84
- for user in ["splunk" , "ansible" ]:
85
- exec_command = self .client .exec_create (cid , "scloud version" , user = user )
86
- std_out = self .client .exec_start (exec_command )
87
- assert "scloud version " in std_out
88
- except Exception as e :
89
- self .logger .error (e )
90
- raise e
91
- finally :
92
- if cid :
93
- self .client .remove_container (cid , v = True , force = True )
94
-
95
73
def test_splunk_ulimit (self ):
96
74
cid = None
97
75
try :
@@ -2662,28 +2640,6 @@ def test_adhoc_1uf_bind_mount_apps(self):
2662
2640
except OSError :
2663
2641
pass
2664
2642
2665
- def test_uf_scloud (self ):
2666
- cid = None
2667
- try :
2668
- # Run container
2669
- cid = self .client .create_container (self .UF_IMAGE_NAME , tty = True , command = "no-provision" )
2670
- cid = cid .get ("Id" )
2671
- self .client .start (cid )
2672
- # Wait a bit
2673
- time .sleep (5 )
2674
- # If the container is still running, we should be able to exec inside
2675
- # Check that the version returns successfully for multiple users
2676
- for user in ["splunk" , "ansible" ]:
2677
- exec_command = self .client .exec_create (cid , "scloud version" , user = user )
2678
- std_out = self .client .exec_start (exec_command )
2679
- assert "scloud version " in std_out
2680
- except Exception as e :
2681
- self .logger .error (e )
2682
- raise e
2683
- finally :
2684
- if cid :
2685
- self .client .remove_container (cid , v = True , force = True )
2686
-
2687
2643
def test_uf_ulimit (self ):
2688
2644
cid = None
2689
2645
try :
@@ -2821,4 +2777,4 @@ def test_compose_1hf_splunk_add(self):
2821
2777
# Check Splunkd on all the containers
2822
2778
assert self .check_splunkd ("admin" , self .password )
2823
2779
# Check Splunkd using the new users
2824
- assert self .check_splunkd ("jerry" , "seinfeld" )
2780
+ assert self .check_splunkd ("jerry" , "seinfeld" )
0 commit comments