summaryrefslogtreecommitdiff
path: root/test/e2e-go/features/partitionRecovery/partitionRecovery_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e-go/features/partitionRecovery/partitionRecovery_test.go')
-rw-r--r--test/e2e-go/features/partitionRecovery/partitionRecovery_test.go12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/e2e-go/features/partitionRecovery/partitionRecovery_test.go b/test/e2e-go/features/partitionRecovery/partitionRecovery_test.go
index d686ed798..3ec2c323d 100644
--- a/test/e2e-go/features/partitionRecovery/partitionRecovery_test.go
+++ b/test/e2e-go/features/partitionRecovery/partitionRecovery_test.go
@@ -23,6 +23,7 @@ import (
"github.com/stretchr/testify/require"
+ "github.com/algorand/go-algorand/config"
"github.com/algorand/go-algorand/test/framework/fixtures"
"github.com/algorand/go-algorand/test/partitiontest"
)
@@ -244,7 +245,16 @@ func TestPartitionHalfOffline(t *testing.T) {
// Start all but 10% of stake and verify we recover
var fixture fixtures.RestClientFixture
- fixture.Setup(t, filepath.Join("nettemplates", "TenNodesDistributedMultiWallet.json"))
+ fixture.SetupNoStart(t, filepath.Join("nettemplates", "TenNodesDistributedMultiWallet.json"))
+ for _, nodeDir := range fixture.NodeDataDirs() {
+ cfg, err := config.LoadConfigFromDisk(nodeDir)
+ a.NoError(err)
+ // adjust the refresh interval for one hour, so that we won't be reloading the participation key during this test.
+ cfg.ParticipationKeysRefreshInterval = time.Hour
+ cfg.SaveToDisk(nodeDir)
+ }
+ fixture.Start()
+
defer fixture.Shutdown()
// Get the 1st node (with Node1-3 wallets) so we can wait until it has reached the target round