Skip to content

Commit 4e7bbfe

Browse files
committed
rename
1 parent f84c2a1 commit 4e7bbfe

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

Readme.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,12 @@ TIPS
335335
e.g. `config.cache_store = ..., namespace: "test_#{ENV['TEST_ENV_NUMBER']}"`
336336
- Debug errors that only happen with multiple files using `--verbose` and [cleanser](https://github.com/grosser/cleanser)
337337
- `export PARALLEL_TEST_PROCESSORS=13` to override default processor count
338-
- `export PARALLEL_TEST_MULTIPLE=.5` to override default processor multiplier
338+
- `export ## 4.20.0 - 2025-02-28
339+
340+
### Added
341+
342+
PARALLEL_TEST_MULTIPLY_PROCESSES
343+
=.5` to override default processor multiplier
339344
- Shell alias: `alias prspec='parallel_rspec -m 2 --'`
340345
- [Spring] Add the [spring-commands-parallel-tests](https://github.com/DocSpring/spring-commands-parallel-tests) gem to your `Gemfile` to get `parallel_tests` working with Spring.
341346
- `--first-is-1` will make the first environment be `1`, so you can test while running your full suite.<br/>

spec/parallel_tests_spec.rb

+12-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ def call(multiple)
5454
end
5555

5656
it "uses the processor multiple from ENV before Parallel" do
57-
ENV['PARALLEL_TEST_MULTIPLE'] = '0.75'
57+
ENV['## 4.20.0 - 2025-02-28
58+
59+
### Added
60+
61+
PARALLEL_TEST_MULTIPLY_PROCESSES
62+
'] = '0.75'
5863
expect(call(nil)).to eq(1)
5964
end
6065

@@ -63,7 +68,12 @@ def call(multiple)
6368
end
6469

6570
it "does not use blank env" do
66-
ENV['PARALLEL_TEST_MULTIPLE'] = ' '
71+
ENV['## 4.20.0 - 2025-02-28
72+
73+
### Added
74+
75+
PARALLEL_TEST_MULTIPLY_PROCESSES
76+
'] = ' '
6777
expect(call(nil)).to eq(default_multiple)
6878
end
6979
end

0 commit comments

Comments
 (0)