Fix broken CI. (#12963)

* Increase timeout to fix flaky tests?

* Fix bundler test - wording changed.

expect "fatal: Remote branch deadbeef not found in upstream origin" to
include "Revision deadbeef does not exist in the repository"
This commit is contained in:
Samuel Williams 2025-03-23 12:49:18 +13:00 committed by GitHub
parent c49051eaa8
commit eb91c664dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2025-03-22 23:49:35 +00:00
Merged-By: ioquatix <samuel@codeotaku.com>
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ assert_equal 'ok', %q{
10.times do
pid = fork{ exit!(0) }
deadline = now + 10
deadline = now + 30
until Process.waitpid(pid, Process::WNOHANG)
if now > deadline
Process.kill(:KILL, pid)

View File

@ -1204,7 +1204,7 @@ RSpec.describe "bundle install with git sources" do
gem "foo", :git => "#{lib_path("foo-1.0")}", :branch => "deadbeef"
G
expect(err).to include("Revision deadbeef does not exist in the repository")
expect(err).to match(/deadbeef (not found in upstream origin|does not exist in the repository)/)
end
end