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

Skip anti-flake E2E tests #5257

Merged
merged 11 commits into from Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions endtoend/endtoend_test.go
Expand Up @@ -20,6 +20,7 @@ import (
)

func runEndToEndTest(t *testing.T, config *types.E2EConfig) {
t.Logf("Shard index: %d\n", e2e.TestParams.TestShardIndex)
t.Logf("Starting time: %s\n", time.Now().String())
t.Logf("Log Path: %s\n\n", e2e.TestParams.LogPath)

Expand Down
2 changes: 1 addition & 1 deletion endtoend/helpers/helpers.go
Expand Up @@ -31,7 +31,7 @@ func KillProcesses(t *testing.T, pIDs []int) {
if err := process.Kill(); err != nil {
t.Fatal(err)
}
if err := process.Release(); err != nil {
if _, err := process.Wait(); err != nil {
t.Fatal(err)
}
}
Expand Down
1 change: 1 addition & 0 deletions endtoend/minimal_antiflake_e2e_1_test.go
Expand Up @@ -11,6 +11,7 @@ import (
)

func TestEndToEnd_AntiFlake_MinimalConfig_1(t *testing.T) {
t.Skip("skipping to prevent E2E flakes")
testutil.ResetCache()
params.UseMinimalConfig()

Expand Down
1 change: 1 addition & 0 deletions endtoend/minimal_antiflake_e2e_2_test.go
Expand Up @@ -11,6 +11,7 @@ import (
)

func TestEndToEnd_AntiFlake_MinimalConfig_2(t *testing.T) {
t.Skip("skipping to prevent E2E flakes")
testutil.ResetCache()
params.UseMinimalConfig()

Expand Down
1 change: 1 addition & 0 deletions endtoend/minimal_slashing_e2e_test.go
Expand Up @@ -30,5 +30,6 @@ func TestEndToEnd_Slashing_MinimalConfig(t *testing.T) {
if err := e2eParams.Init(2); err != nil {
t.Fatal(err)
}

runEndToEndTest(t, minimalConfig)
}