fix: Increase the parallelism config to fix flaky tests, revert bad commits (#13410)

The specs break only in Circle CI, we have to figure out the root cause
for the same. At the moment, I have increased the parallelism to fix
this.
This commit is contained in:
Pranav
2026-01-30 12:49:31 -08:00
committed by GitHub
parent 329b749702
commit e9e6de5690
6 changed files with 64 additions and 43 deletions

View File

@@ -46,7 +46,7 @@ describe Enterprise::Billing::TopupCheckoutService do
it 'raises error for invalid credits' do
expect do
service.create_checkout_session(credits: 500)
end.to(raise_error { |error| expect(error.class.name).to eq('Enterprise::Billing::TopupCheckoutService::Error') })
end.to raise_error(Enterprise::Billing::TopupCheckoutService::Error)
end
it 'raises error when account is on free plan' do
@@ -54,7 +54,7 @@ describe Enterprise::Billing::TopupCheckoutService do
expect do
service.create_checkout_session(credits: 1000)
end.to(raise_error { |error| expect(error.class.name).to eq('Enterprise::Billing::TopupCheckoutService::Error') })
end.to raise_error(Enterprise::Billing::TopupCheckoutService::Error)
end
end
end