diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index d95309e2b..627ceeb79 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -3,6 +3,7 @@ name: Benchmarks on: push: branches: + - roy/* - master pull_request: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0ecac740..4a5560026 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,7 @@ name: Test on: push: branches: + - roy/* - master pull_request: diff --git a/migrate_test.go b/migrate_test.go index c2cf3bf5c..54aa6874c 100644 --- a/migrate_test.go +++ b/migrate_test.go @@ -256,7 +256,7 @@ func TestPruning(t *testing.T) { } // Wait for pruning to finish - for i := 0; i < 200; i++ { + for i := 0; i < 100; i++ { _, _, err := tree.SaveVersion() require.NoError(t, err) isLeacy, err := tree.ndb.hasLegacyVersion(int64(legacyVersion)) @@ -265,7 +265,7 @@ func TestPruning(t *testing.T) { break } // Simulate the consensus state update - time.Sleep(100 * time.Millisecond) + time.Sleep(500 * time.Millisecond) } // Reload the tree tree = NewMutableTree(db, 0, false, log.NewNopLogger())