Skip to content

Commit

Permalink
fixup: Respond to review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed May 20, 2024
1 parent 97e5dae commit 446758f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/antithesis/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,5 @@ func getServiceName(index int) string {
if index == 0 {
return baseName + "-bootstrap-node"
}
return fmt.Sprintf("%s-node-%d", baseName, index+1)
return fmt.Sprintf("%s-node-%d", baseName, index)
}
2 changes: 1 addition & 1 deletion tests/antithesis/node_health.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func awaitHealthyNode(ctx context.Context, uri string) error {
select {
case <-ticker.C:
case <-ctx.Done():
return fmt.Errorf("node health check cancelled at %s", uri)
return fmt.Errorf("node health check cancelled at %s: %w", uri, ctx.Err())
}
}
}

0 comments on commit 446758f

Please sign in to comment.