ci: adds -skip flag to the race tests (#1023)

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda
2023-01-11 12:23:09 +09:00
committed by GitHub
parent 803e6ba61e
commit 2df84c679c
2 changed files with 6 additions and 3 deletions

View File

@@ -314,9 +314,12 @@ func Test733(t *testing.T) {
require.Contains(t, err.Error(), "out of bounds memory")
})
// Note: this case uses large memory space, so can be slow like 1 to 2 seconds.
name = "store higher offset"
t.Run(name, func(t *testing.T) {
if testing.Short() {
// Note: this case uses large memory space, so can be slow like 1 to 2 seconds even without -race.
t.SkipNow()
}
f := mod.ExportedFunction(name)
require.NotNil(t, f)
_, err = f.Call(ctx)