Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #392 from bazelbuild/fix-stamps
Browse files Browse the repository at this point in the history
Increase the allowablebuild time delta to 15 mins
  • Loading branch information
erain authored May 7, 2018
2 parents 452878d + 21be018 commit e4df7a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container/image_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def test_with_stamped_creation_time(self):
# See https://github.com/bazelbuild/bazel/issues/2240
# https://bazel-review.googlesource.com/c/bazel/+/48211
# Assume that any value for 'created' within a reasonable bound is fine.
self.assertLessEqual(now - created, datetime.timedelta(minutes=5))
self.assertLessEqual(now - created, datetime.timedelta(minutes=15))

def test_with_default_stamped_creation_time(self):
# {BUILD_TIMESTAMP} should be the default when `stamp = True` and
Expand All @@ -240,7 +240,7 @@ def test_with_default_stamped_creation_time(self):
# See https://github.com/bazelbuild/bazel/issues/2240
# https://bazel-review.googlesource.com/c/bazel/+/48211
# Assume that any value for 'created' within a reasonable bound is fine.
self.assertLessEqual(now - created, datetime.timedelta(minutes=5))
self.assertLessEqual(now - created, datetime.timedelta(minutes=15))

def test_with_env(self):
with TestBundleImage(
Expand Down

0 comments on commit e4df7a3

Please sign in to comment.