Browse Source

e2e: prevent non-viable testnets (#6486)

pull/6487/head
Sam Kleinman 4 years ago
committed by GitHub
parent
commit
e2a26c732c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      test/e2e/generator/generate.go
  2. +1
    -1
      test/e2e/runner/main.go

+ 4
- 0
test/e2e/generator/generate.go View File

@ -303,6 +303,10 @@ func generateNode(
} }
} }
if node.StateSync {
node.FastSync = "v0"
}
return &node return &node
} }


+ 1
- 1
test/e2e/runner/main.go View File

@ -97,7 +97,7 @@ func NewCLI() *CLI {
if err := <-chLoadResult; err != nil { if err := <-chLoadResult; err != nil {
return err return err
} }
if err := Wait(cli.testnet, 5); err != nil { // wait for network to settle before tests
if err := Wait(cli.testnet, 8); err != nil { // wait for network to settle before tests
return err return err
} }
if err := Test(cli.testnet); err != nil { if err := Test(cli.testnet); err != nil {


Loading…
Cancel
Save