Commit 1b75fb2
committed
Lower number of threads in a ractor in a bootstrap test
OpenBSD CI now runs inside a qemu virtual machine inside a Ubuntu
virtual machine, without hardware virtualization support. It is
limited to 2.5GB of RAM and only 2 vCPUs. There is a bootstrap test
that fails on it due to resource issues.
```
bootstraptest.test_ractor.rb_1536_1361.rb:8:in 'Thread#initialize':
can't create Thread: Cannot allocate memory (ThreadError)
```
Fix this by using 100 threads instead of 1000.1 parent 3300f1e commit 1b75fb2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | | - | |
| 1537 | + | |
1538 | 1538 | | |
1539 | 1539 | | |
1540 | | - | |
| 1540 | + | |
1541 | 1541 | | |
1542 | 1542 | | |
1543 | 1543 | | |
| |||
0 commit comments