Skip to content

Commit

Permalink
chore: Stop clobbering KOKORO_KEYSTORE_DIR (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Nov 13, 2024
1 parent db8833c commit 4a08f60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .trampolinerc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ pass_down_envvars+=(
"AUTORELEASE_PR"
"EXTRA_CI_ARGS"
"KOKORO_GIT_COMMIT"
"KOKORO_KEYSTORE_DIR"
"RELEASE_DRY_RUN"
"RELEASE_PACKAGE"
"RUBY_VERSIONS"
Expand Down
6 changes: 3 additions & 3 deletions test/google/cloud/env/lazy_value_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@

it "includes time elapsed in a retry delay" do
count = 0
retries = Google::Cloud::Env::Retries.new max_tries: 3, initial_delay: 0.2, delay_includes_time_elapsed: true
retries = Google::Cloud::Env::Retries.new max_tries: 3, initial_delay: 0.39, delay_includes_time_elapsed: true
cache = Google::Cloud::Env::LazyValue.new retries: retries do
sleep 0.1
sleep 0.2
count += 1
raise "whoops12" unless count >= 2
12
Expand All @@ -277,7 +277,7 @@
end
assert_equal "whoops12", err2.message
assert_equal 1, count
sleep 0.15
sleep 0.3
assert_equal 12, cache.get
assert_equal 2, count
assert_equal 12, cache.get
Expand Down

0 comments on commit 4a08f60

Please sign in to comment.