Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
khalifaa55 committed Nov 15, 2024
1 parent 81476f6 commit 131c19d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/sedge/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ func checkContainerRunning(t *testing.T, containerNames ...string) {
if containerName == "oncall_db_migration" {
// For DB migration, we just check if it exists and completed
status, err := dockerServiceManager.ContainerStatus(containerName)
logs, _ := dockerServiceManager.ContainerLogs(containerName, containerName)
t.Logf("Container logs: %s", logs)
require.NoError(t, err)
assert.Contains(t, []int{1, 6}, int(status),
"%s container should be exited or created", containerName)
Expand Down

0 comments on commit 131c19d

Please sign in to comment.