fix IsOptsWithFromKey

fix IsOptsWithFromKey

fix IsOptsWithFromKey

fix IsOptsWithFromKey

fix IsOptsWithFromKey

fix IsOptsWithFromKey
This commit is contained in:
leoyang.yl
2021-09-09 19:32:08 +08:00
parent 884e7ddb14
commit ad69fe0f40
3 changed files with 29 additions and 24 deletions

View File

@ -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() {
}()
}