diff options
Diffstat (limited to 'tests/core/go_test/sharding_test.go')
-rw-r--r-- | tests/core/go_test/sharding_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/core/go_test/sharding_test.go b/tests/core/go_test/sharding_test.go new file mode 100644 index 00000000..a83bb85c --- /dev/null +++ b/tests/core/go_test/sharding_test.go @@ -0,0 +1,13 @@ +package sharding_test + +import ( + "log" + "os" + "testing" +) + +func TestShardStatusFile(t *testing.T) { + if _, err := os.Stat(os.Getenv("TEST_SHARD_STATUS_FILE")); err != nil { + log.Fatalf("Expected Go test runner to create TEST_SHARD_STATUS_FILE: %v", err) + } +} |