Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Antithesis: Skip checks if tx confirmation fails #3563

Merged
merged 22 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
ea8fb82
Antithesis: Skip checks if tx confirmation fails
StephenButtolph Nov 21, 2024
9d42348
[testing] Switch to logging with zap
maru-ava Oct 12, 2024
72d27a9
fixup: Self-review
maru-ava Nov 20, 2024
1192c19
fixup: s/node/nodeID/ in log output
maru-ava Nov 20, 2024
53d0040
fixup: Fix lint failures
maru-ava Nov 20, 2024
5880edc
fixup: Implement SimpleTestContext.Log
maru-ava Nov 20, 2024
4563083
fixup: Switch antithesis to zap
maru-ava Nov 20, 2024
0f24b3e
Update tests/antithesis/avalanchego/main.go
maru-ava Nov 21, 2024
35ba879
Update tests/antithesis/avalanchego/main.go
maru-ava Nov 21, 2024
7cd40f1
Update tests/antithesis/xsvm/main.go
maru-ava Nov 21, 2024
0ea4cd5
Update tests/antithesis/xsvm/main.go
maru-ava Nov 21, 2024
81e0c55
Update tests/e2e/x/transfer/virtuous.go
maru-ava Nov 21, 2024
1b0abce
Update tests/fixture/bootstrapmonitor/e2e/e2e_test.go
maru-ava Nov 21, 2024
bde8d72
Update tests/fixture/e2e/helpers.go
maru-ava Nov 21, 2024
a6cad4a
Update tests/fixture/e2e/helpers.go
maru-ava Nov 21, 2024
9c4e037
Update tests/fixture/e2e/helpers.go
maru-ava Nov 21, 2024
292016a
fixup: Respond to review feedback
maru-ava Nov 21, 2024
b960199
fixup: Rename and move ginkgo-specific logger and fix level output
maru-ava Nov 21, 2024
34ababd
fixup: Update tmpnet network test to define its own logger
maru-ava Nov 21, 2024
248e86a
merged
StephenButtolph Nov 21, 2024
e05b964
merged
StephenButtolph Nov 21, 2024
30052c0
Merge branch 'master' into antithesis-skip-test-on-flaky-error
StephenButtolph Nov 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions tests/antithesis/avalanchego/gencomposeconfig/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
package main

import (
"log"
"os"

"go.uber.org/zap"

"github.com/ava-labs/avalanchego/tests"
"github.com/ava-labs/avalanchego/tests/antithesis"
"github.com/ava-labs/avalanchego/tests/fixture/tmpnet"
)
Expand All @@ -16,6 +19,9 @@ const baseImageName = "antithesis-avalanchego"
func main() {
network := tmpnet.LocalNetworkOrPanic()
if err := antithesis.GenerateComposeConfig(network, baseImageName, "" /* runtimePluginDir */); err != nil {
log.Fatalf("failed to generate compose config: %v", err)
tests.NewDefaultLogger("").Fatal("failed to generate compose config",
zap.Error(err),
)
os.Exit(1)
}
}
Loading
Loading