From a8b4af41997fec46baf310047db22fdd856fb80f Mon Sep 17 00:00:00 2001 From: jamlo Date: Mon, 14 Oct 2024 14:37:19 -0400 Subject: [PATCH] WIP: Follow test results when running a job in tests --- test_integration/happy_path_suite_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_integration/happy_path_suite_test.go b/test_integration/happy_path_suite_test.go index 9846797c70..fd6fb40114 100644 --- a/test_integration/happy_path_suite_test.go +++ b/test_integration/happy_path_suite_test.go @@ -63,10 +63,10 @@ func (s *HappyPathTestSuite) TestNodesAreUp() { func (s *HappyPathTestSuite) TestNodesAreUp2() { // Your test code here - result, err := s.executeCommand("bacalhau-client-node", []string{"bacalhau", "docker", "run", "hello-world"}) + result, err := s.executeCommand("bacalhau-client-node", []string{"bacalhau", "docker", "run", "--follow", "hello-world"}) s.Require().NoError(err, "Error getting nodes") s.T().Log(result) - s.Require().NotEmpty(s.T(), result, "Should not be empty") + s.Require().Contains(s.T(), result, "Hello from Docker") } func TestHappyPathTestSuite(t *testing.T) {