Skip to content

Commit 665efee

Browse files
committed
fixup: Respond to review feedback
1 parent 201329e commit 665efee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/antithesis/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,5 +237,5 @@ func getServiceName(index int) string {
237237
if index == 0 {
238238
return baseName + "-bootstrap-node"
239239
}
240-
return fmt.Sprintf("%s-node-%d", baseName, index+1)
240+
return fmt.Sprintf("%s-node-%d", baseName, index)
241241
}

tests/antithesis/node_health.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func awaitHealthyNode(ctx context.Context, uri string) error {
4444
select {
4545
case <-ticker.C:
4646
case <-ctx.Done():
47-
return fmt.Errorf("node health check cancelled at %s", uri)
47+
return fmt.Errorf("node health check cancelled at %s: %w", uri, ctx.Err())
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)