Skip to content

Commit

Permalink
fix IsOptsWithFromKey
Browse files Browse the repository at this point in the history
  • Loading branch information
leoyang.yl committed Sep 9, 2021
1 parent d1b91f8 commit 973998a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/integration/testing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
package integration_test

import (
"testing"
"time"

"go.etcd.io/etcd/tests/v3/integration"
"testing"
)

func TestBeforeTestWithoutLeakDetection(t *testing.T) {
integration.BeforeTest(t, integration.WithoutGoLeakDetection(), integration.WithoutSkipInShort())
// Intentional leak that should get ignored
go time.Sleep(2 * time.Second)
go func() {

}()
}
2 changes: 1 addition & 1 deletion tests/integration/utl_wal_version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ func TestEtcdVersionFromWAL(t *testing.T) {
}
defer wal.Close()
ver := schema.MinimalStorageVersionFromWAL(wal)
assert.Equal(t, &semver.Version{Major: 3, Minor: 0}, ver)
assert.Equal(t, &semver.Version{Major: 3, Minor: 5}, ver)
}

0 comments on commit 973998a

Please sign in to comment.