Mark the given test for sharding with the given test ID number.
(t *testing.T, testShardNumber int)
| 420 | |
| 421 | // Mark the given test for sharding with the given test ID number. |
| 422 | func markTestForSharding(t *testing.T, testShardNumber int) { |
| 423 | if isShardedTestRun() { |
| 424 | if testShardNumber%numTestShards() != currentShardNumber() { |
| 425 | t.Skip("Skipping sharded test") |
| 426 | } |
| 427 | } |
| 428 | } |