diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39a2618df..632d9aaec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -83,7 +83,7 @@ jobs: - name: Test uses: SiaFoundation/workflows/.github/actions/go-test@master with: - go-test-args: "-race;-timeout=20m;-tags=netgo,v2" + go-test-args: "-race;-timeout=20m;-tags=netgo,v2;-run=TestV1ToV2Transition;-count=50" test-mysql-v2: # Run all tests against MySQL needs: analyze diff --git a/internal/test/e2e/cluster_test.go b/internal/test/e2e/cluster_test.go index 0734a1cb4..fa72cd512 100644 --- a/internal/test/e2e/cluster_test.go +++ b/internal/test/e2e/cluster_test.go @@ -3009,7 +3009,7 @@ func TestV1ToV2Transition(t *testing.T) { usedHosts := make(map[types.PublicKey]struct{}) for _, c := range archivedContracts { if c.ArchivalReason != "migrated to v2" { - t.Fatalf("expected archival reason to be 'migrated to v2', got %v", c.ArchivalReason) + t.Fatalf("expected archival reason to be 'migrated to v2', got '%v' (v2: %v)", c.ArchivalReason, c.V2) } usedHosts[c.HostKey] = struct{}{} }