Skip to content

Commit

Permalink
Again.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncruces committed Jan 6, 2025
1 parent d933451 commit e61173e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions vfs/tests/mptest/mptest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ import (
//go:embed testdata/*
var scripts embed.FS

const qemuCI = runtime.GOARCH != "386" && runtime.GOARCH != "amd64" && runtime.GOARCH != "arm64"

var (
rt wazero.Runtime
module wazero.CompiledModule
Expand Down Expand Up @@ -155,8 +153,8 @@ func Test_crash01(t *testing.T) {
}

func Test_multiwrite01(t *testing.T) {
if os.Getenv("CI") != "" && qemuCI {
t.Skip("skipping in CI")
if testing.Short() && os.Getenv("CI") != "" {
t.Skip("skipping in slow CI")
}
if !vfs.SupportsFileLocking {
t.Skip("skipping without locks")
Expand Down Expand Up @@ -185,8 +183,8 @@ func Test_config01_memory(t *testing.T) {
}

func Test_multiwrite01_memory(t *testing.T) {
if os.Getenv("CI") != "" && qemuCI {
t.Skip("skipping in CI")
if testing.Short() && os.Getenv("CI") != "" {
t.Skip("skipping in slow CI")
}

memdb.Create("test.db", nil)
Expand Down Expand Up @@ -220,8 +218,8 @@ func Test_crash01_wal(t *testing.T) {
}

func Test_multiwrite01_wal(t *testing.T) {
if os.Getenv("CI") != "" && qemuCI {
t.Skip("skipping in CI")
if testing.Short() && os.Getenv("CI") != "" {
t.Skip("skipping in slow CI")
}
if !vfs.SupportsSharedMemory {
t.Skip("skipping without shared memory")
Expand Down

0 comments on commit e61173e

Please sign in to comment.