Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/e2e-go/cli/algod/cleanup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (

func TestNodeControllerCleanup(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down
2 changes: 2 additions & 0 deletions test/e2e-go/cli/algod/expect/algod_expect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import (
// TestAlgodWithExpect Process all expect script files with suffix Test.exp within the test/e2e-go/cli/algod/expect directory
func TestAlgodWithExpect(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

et := fixtures.MakeExpectTest(t)
et.Run()
}
1 change: 1 addition & 0 deletions test/e2e-go/cli/algod/stdstreams_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (

func TestAlgodLogsToFile(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()

Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/cli/algoh/expect/algoh_expect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
func TestAlgohWithExpect(t *testing.T) {
// partitiontest.PartitionTest(t)
// Causes double partition, so commented out on purpose
defer fixtures.ShutdownSynchronizedTest(t)
et := fixtures.MakeExpectTest(t)
et.Run()
}
4 changes: 4 additions & 0 deletions test/e2e-go/cli/goal/account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const statusOffline = "[offline]"
const statusOnline = "[online]"

func TestAccountNew(t *testing.T) {
defer fixtures.ShutdownSynchronizedTest(t)
defer fixture.SetTestContext(t)()
a := require.New(fixtures.SynchronizedTest(t))

Expand All @@ -53,6 +54,7 @@ func TestAccountNew(t *testing.T) {
}

func TestAccountNewDuplicateFails(t *testing.T) {
defer fixtures.ShutdownSynchronizedTest(t)
defer fixture.SetTestContext(t)()
a := require.New(fixtures.SynchronizedTest(t))

Expand All @@ -68,6 +70,7 @@ func TestAccountNewDuplicateFails(t *testing.T) {
}

func TestAccountRename(t *testing.T) {
defer fixtures.ShutdownSynchronizedTest(t)
defer fixture.SetTestContext(t)()
a := require.New(fixtures.SynchronizedTest(t))

Expand Down Expand Up @@ -98,6 +101,7 @@ func TestAccountRename(t *testing.T) {

// Importing an account multiple times should not be considered an error by goal
func TestAccountMultipleImportRootKey(t *testing.T) {
defer fixtures.ShutdownSynchronizedTest(t)
defer fixture.SetTestContext(t)()
a := require.New(fixtures.SynchronizedTest(t))

Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/cli/goal/clerk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
)

func TestClerkSendNoteEncoding(t *testing.T) {
defer fixtures.ShutdownSynchronizedTest(t)
defer fixture.SetTestContext(t)()
a := require.New(fixtures.SynchronizedTest(t))

Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/cli/goal/expect/goal_expect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
func TestGoalWithExpect(t *testing.T) {
// partitiontest.PartitionTest(t)
// Causes double partition, so commented out on purpose
defer fixtures.ShutdownSynchronizedTest(t)
et := fixtures.MakeExpectTest(t)
et.Run()
}
2 changes: 2 additions & 0 deletions test/e2e-go/cli/goal/node_cleanup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ import (
)

func TestGoalNodeCleanup(t *testing.T) {
defer fixtures.ShutdownSynchronizedTest(t)
defer fixture.SetTestContext(t)()

a := require.New(fixtures.SynchronizedTest(t))

primaryDir := fixture.PrimaryDataDir()
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/cli/tealdbg/expect/tealdbg_expect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
func TestTealdbgWithExpect(t *testing.T) {
// partitiontest.PartitionTest(t)
// Causes double partition, so commented out on purpose
defer fixtures.ShutdownSynchronizedTest(t)
et := fixtures.MakeExpectTest(t)
et.Run()
}
3 changes: 3 additions & 0 deletions test/e2e-go/features/catchup/basicCatchup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (

func TestBasicCatchup(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down Expand Up @@ -80,6 +81,7 @@ func TestBasicCatchup(t *testing.T) {
// The current versions are the original v1 and the upgraded to v2.1
func TestCatchupOverGossip(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()

Expand Down Expand Up @@ -201,6 +203,7 @@ const consensusTestUnupgradedToProtocol = protocol.ConsensusVersion("test-unupgr

func TestStoppedCatchupOnUnsupported(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/features/catchup/catchpointCatchup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func (ec *nodeExitErrorCollector) Print() {

func TestBasicCatchpointCatchup(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/features/compactcert/compactcert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import (

func TestCompactCerts(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Skip("Disabling since they need work and shouldn't block releases")
t.Parallel()
Expand Down
4 changes: 4 additions & 0 deletions test/e2e-go/features/multisig/multisig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (
// try to transact with 3 sigs: expect success
func TestBasicMultisig(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()

Expand Down Expand Up @@ -110,6 +111,7 @@ func TestBasicMultisig(t *testing.T) {
// create a 0-of-3 multisig address: expect failure
func TestZeroThreshold(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()

Expand Down Expand Up @@ -139,6 +141,7 @@ func TestZeroThreshold(t *testing.T) {
// create a 3-of-0 multisig address: expect failure
func TestZeroSigners(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()

Expand All @@ -164,6 +167,7 @@ func TestZeroSigners(t *testing.T) {
// then try to transact
func TestDuplicateKeys(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (

func TestParticipationKeyOnlyAccountParticipatesCorrectly(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -108,6 +109,8 @@ func waitForAccountToProposeBlock(a *require.Assertions, fixture *fixtures.RestC
// - When the account balance receives enough stake, it should be proposing after lookback rounds
func TestNewAccountCanGoOnlineAndParticipate(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import (

func TestOverlappingParticipationKeys(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func spendToNonParticipating(t *testing.T, fixture *fixtures.RestClientFixture,

func TestOnlineOfflineRewards(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
r := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -136,6 +137,7 @@ func TestOnlineOfflineRewards(t *testing.T) {

func TestPartkeyOnlyRewards(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if runtime.GOOS == "darwin" {
t.Skip()
Expand Down Expand Up @@ -187,6 +189,7 @@ func TestPartkeyOnlyRewards(t *testing.T) {

func TestRewardUnitThreshold(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
r := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -308,6 +311,7 @@ var defaultPoolAddr = basics.Address{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0

func TestRewardRateRecalculation(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
r := require.New(fixtures.SynchronizedTest(t))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const inducePartitionTime = 6 * time.Second // Try to minimize change of proc

func TestBasicPartitionRecovery(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down Expand Up @@ -78,6 +79,7 @@ func TestBasicPartitionRecovery(t *testing.T) {

func TestPartitionRecoverySwapStartup(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand All @@ -100,6 +102,7 @@ func TestPartitionRecoverySwapStartup(t *testing.T) {

func TestPartitionRecoveryStaggerRestart(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down Expand Up @@ -167,6 +170,7 @@ func runTestWithStaggeredStopStart(t *testing.T, fixture *fixtures.RestClientFix

func TestBasicPartitionRecoveryPartOffline(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down Expand Up @@ -224,6 +228,7 @@ func TestBasicPartitionRecoveryPartOffline(t *testing.T) {

func TestPartitionHalfOffline(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/features/teal/compile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (

func TestTealCompile(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/features/transactions/accountv2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func checkEvalDelta(t *testing.T, client *libgoal.Client, startRnd, endRnd uint6

func TestAccountInformationV2(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/features/transactions/app_pages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import (

func TestExtraProgramPages(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/features/transactions/application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func checkEqual(expected []string, actual []string) bool {

func TestApplication(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down
7 changes: 7 additions & 0 deletions test/e2e-go/features/transactions/asset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ func helperFillSignBroadcast(client libgoal.Client, wh []byte, sender string, tx

func TestAssetValidRounds(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -188,6 +189,7 @@ func TestAssetValidRounds(t *testing.T) {

func TestAssetConfig(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down Expand Up @@ -425,6 +427,7 @@ func TestAssetConfig(t *testing.T) {

func TestAssetInformation(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -519,6 +522,7 @@ func TestAssetInformation(t *testing.T) {

func TestAssetGroupCreateSendDestroy(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -662,6 +666,7 @@ func TestAssetGroupCreateSendDestroy(t *testing.T) {

func TestAssetSend(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -911,6 +916,7 @@ func TestAssetSend(t *testing.T) {

func TestAssetCreateWaitRestartDelete(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

a, fixture, client, account0 := setupTestAndNetwork(t, "", nil)
defer fixture.Shutdown()
Expand Down Expand Up @@ -974,6 +980,7 @@ func TestAssetCreateWaitRestartDelete(t *testing.T) {

func TestAssetCreateWaitBalLookbackDelete(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

if testing.Short() {
t.Skip()
Expand Down
1 change: 1 addition & 0 deletions test/e2e-go/features/transactions/close_account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (

func TestAccountsCanClose(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down
3 changes: 3 additions & 0 deletions test/e2e-go/features/transactions/group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (

func TestGroupTransactions(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -104,6 +105,7 @@ func TestGroupTransactions(t *testing.T) {

func TestGroupTransactionsDifferentSizes(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down Expand Up @@ -212,6 +214,7 @@ func TestGroupTransactionsDifferentSizes(t *testing.T) {

func TestGroupTransactionsSubmission(t *testing.T) {
partitiontest.PartitionTest(t)
defer fixtures.ShutdownSynchronizedTest(t)

t.Parallel()
a := require.New(fixtures.SynchronizedTest(t))
Expand Down
Loading