Skip to content

Commit 21e0666

Browse files
committed
short mode
1 parent 1d2e25f commit 21e0666

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,17 @@ On default settings it used about **200GB of RAM on m6id.metal machine when usin
147147
148148
**This means it does about 1TB/20min but it is HIGHLY dependent on the source and dest machines**
149149
150+
# Tests
151+
152+
This project’s tests run as normal Go tests, to, with `go test`.
153+
154+
`IntegrationTestSuite`'s tests require external clusters. You must provision these yourself.
155+
(See the project’s GitHub CI setup for one way to simplify it.) Once provisioned, set the relevant
156+
connection strings in the following environment variables:
157+
158+
- MVTEST_SRC
159+
- MVTEST_DST
160+
- MVTEST_META
150161
151162
# How the Verifier Works
152163

internal/verifier/migration_verifier_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ import (
3232
)
3333

3434
func TestIntegration(t *testing.T) {
35+
if testing.Short() {
36+
t.Skip("Skipping integration tests in short-test mode.")
37+
}
3538
envVals := map[string]string{}
3639

3740
for _, name := range []string{"MVTEST_SRC", "MVTEST_DST", "MVTEST_META"} {

0 commit comments

Comments
 (0)