Skip to content

Commit 1aa858a

Browse files
author
Ibrahim Jarif
committed
rearrange flags
1 parent 48f04b0 commit 1aa858a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ go build -v .
1616
popd
1717

1818
# Run the memory intensive tests first.
19-
go test -v --manual=true -run='TestBigKeyValuePairs$'
20-
go test -v --manual=true -run='TestPushValueLogLimit'
19+
go test -v -run='TestBigKeyValuePairs$' --manual=true
20+
go test -v -run='TestPushValueLogLimit' --manual=true
2121

2222
# Run the special Truncate test.
2323
rm -rf p
24-
go test -v --manual=true -run='TestTruncateVlogNoClose$' .
24+
go test -v -run='TestTruncateVlogNoClose$' --manual=true
2525
truncate --size=4096 p/000000.vlog
26-
go test -v --manual=true -run='TestTruncateVlogNoClose2$' .
27-
go test -v --manual=true -run='TestTruncateVlogNoClose3$' .
26+
go test -v -run='TestTruncateVlogNoClose2$' --manual=true
27+
go test -v -run='TestTruncateVlogNoClose3$' --manual=true
2828
rm -rf p
2929

3030
# Then the normal tests.
@@ -40,9 +40,9 @@ echo
4040
echo "==> Starting tests with value log mmapped..."
4141
sleep 5
4242
# Run top level package tests with mmap flag.
43-
go test -v --vlog_mmap=true -race github.com/dgraph-io/badger/v2
43+
go test -v -race github.com/dgraph-io/badger/v2 --vlog_mmap=true
4444
echo
4545
echo "==> Starting tests with value log not mmapped..."
4646
sleep 5
47-
go test -v --vlog_mmap=false -race github.com/dgraph-io/badger/v2
47+
go test -v -race github.com/dgraph-io/badger/v2 --vlog_mmap=false
4848

0 commit comments

Comments
 (0)