@@ -832,7 +832,7 @@ def setup_services(self):
832
832
if 'cmd' in service : # must come last
833
833
docker_run_string .append (service ['cmd' ])
834
834
835
- # Before starting the container, check if the dependent containers are "ready".
835
+ # Before starting the container, check if the dependent containers are "ready".
836
836
# If not, wait for some time. If the container is not ready after a certain time, throw an error.
837
837
# Currently we consider "ready" only as "running".
838
838
# In the future we want to implement an health check to know if dependent containers are actually ready.
@@ -961,7 +961,7 @@ def start_metric_providers(self, allow_container=True, allow_other=True):
961
961
962
962
stderr_read = metric_provider .get_stderr ()
963
963
print (f"Stderr check on { metric_provider .__class__ .__name__ } " )
964
- if stderr_read is not None :
964
+ if stderr_read is not None and str ( stderr_read ) is not '' :
965
965
raise RuntimeError (f"Stderr on { metric_provider .__class__ .__name__ } was NOT empty: { stderr_read } " )
966
966
967
967
@@ -1095,7 +1095,7 @@ def stop_metric_providers(self):
1095
1095
continue
1096
1096
1097
1097
stderr_read = metric_provider .get_stderr ()
1098
- if stderr_read is not None :
1098
+ if stderr_read is not None and str ( stderr_read ) is not '' :
1099
1099
errors .append (f"Stderr on { metric_provider .__class__ .__name__ } was NOT empty: { stderr_read } " )
1100
1100
1101
1101
metric_provider .stop_profiling ()
0 commit comments