Skip to content

Commit

Permalink
WIP: Follow test results when running a job in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamlo committed Oct 14, 2024
1 parent a0f62ec commit a8b4af4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_integration/happy_path_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a8b4af4

Please sign in to comment.