Skip to content

Commit

Permalink
jobs: remove unnecessary test for batch jobs creation
Browse files Browse the repository at this point in the history
Commit cockroachdb#67991 introduced a test that turned out to be flaky.
The test runs out of memory sometimes as it creates a very
large batch of jobs. Nevertheless, the test doesn't contribute
much value to the test suite because it only creates a large
batch of jobs. The core functionality is already being tested
with moderately large batch sizes. Therefore, the test is now
removed in this commit.

Release note: None

Fixes: cockroachdb#68962
  • Loading branch information
Sajjad Rizvi committed Aug 16, 2021
1 parent 66c60f2 commit efb7c3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/jobs/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ func TestBatchJobsCreation(t *testing.T) {
{"small batch", 10},
{"medium batch", 501},
{"large batch", 1001},
{"extra large batch", 5001},
} {
t.Run(test.name, func(t *testing.T) {
{
Expand Down

0 comments on commit efb7c3b

Please sign in to comment.