Skip to content

Commit 982f6e6

Browse files
Skip flaky tests (#4456)
1 parent 55b655b commit 982f6e6

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

x/merkledb/db_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ func Test_MerkleDB_GetValues_Safety(t *testing.T) {
8181
}
8282

8383
func Test_MerkleDB_DB_Interface(t *testing.T) {
84+
t.Skip("FLAKY: panic: test timed out after 2m0s")
85+
8486
for _, bf := range validBranchFactors {
8587
for name, test := range dbtest.Tests {
8688
t.Run(fmt.Sprintf("%s_%d", name, bf), func(t *testing.T) {
@@ -153,6 +155,8 @@ func Test_MerkleDB_DB_Load_Root_From_DB(t *testing.T) {
153155
}
154156

155157
func Test_MerkleDB_DB_Rebuild(t *testing.T) {
158+
t.Skip("FLAKY: panic: test timed out after 2m0s")
159+
156160
require := require.New(t)
157161

158162
initialSize := 5_000
@@ -1637,6 +1641,8 @@ func Test_FindNextKey_DifferentChild(t *testing.T) {
16371641
// Test findNextKey by computing the expected result in a naive, inefficient
16381642
// way and comparing it to the actual result
16391643
func TestFindNextKeyRandom(t *testing.T) {
1644+
t.Skip("FLAKY: panic: test timed out after 2m0s")
1645+
16401646
now := time.Now().UnixNano()
16411647
ctx := t.Context()
16421648
t.Logf("seed: %d", now)

x/merkledb/network_server_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ func Test_Server_GetRangeProof(t *testing.T) {
147147
}
148148

149149
func Test_Server_GetChangeProof(t *testing.T) {
150+
t.Skip("FLAKY: panic: test timed out after 2m0s")
151+
150152
now := time.Now().UnixNano()
151153
t.Logf("seed: %d", now)
152154
r := rand.New(rand.NewSource(now)) // #nosec G404

x/merkledb/sync_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ func Test_Creation(t *testing.T) {
6262
// Tests that we are able to sync to the correct root while the server is
6363
// updating
6464
func Test_Sync_Result_Correct_Root(t *testing.T) {
65+
t.Skip("FLAKY: panic: test timed out after 2m0s")
66+
6567
now := time.Now().UnixNano()
6668
t.Logf("seed: %d", now)
6769
r := rand.New(rand.NewSource(now)) // #nosec G404

0 commit comments

Comments
 (0)