Skip to content

Commit

Permalink
refactor: rollback test time to reduce diff in PR
Browse files Browse the repository at this point in the history
this should makes the true diff in this PR easier to follow

Co-authored-by: Ramkumar Vengadakrishnan <ramkumar.vengadakrishnan@broadcom.com>
  • Loading branch information
2 people authored and pabloarodas committed Mar 15, 2024
1 parent f7f6159 commit 5552ac4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions internal/acceptance/workflows/baking_a_tile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Feature: As a developer, I want to bake a tile
And "bake_records/0.2.0-dev.json" contains substring: "source_revision": "bc3ac24e192ba06a2eca19381ad785ec7069e0d0"
And "bake_records/0.2.0-dev.json" contains substring: "tile_directory": "."
And "bake_records/0.2.0-dev.json" contains substring: "kiln_version": "0.0.0+acceptance-tests"
And "bake_records/0.2.0-dev.json" contains substring: "file_checksum": "98239fa2fad3132c4cc12407f0f6c77bdcae1faec00fb4ef4c2b420637522db4"
And "tile-0.2.0-dev.pivotal" has sha256 sum "98239fa2fad3132c4cc12407f0f6c77bdcae1faec00fb4ef4c2b420637522db4"
And "bake_records/0.2.0-dev.json" contains substring: "file_checksum": "5f8abc7a3272a70fa716cdf120f6976f6b78e16a01a4b3e085ced7f51d6c7691"
And "tile-0.2.0-dev.pivotal" has sha256 sum "5f8abc7a3272a70fa716cdf120f6976f6b78e16a01a4b3e085ced7f51d6c7691"

Scenario: it reads directory configuration from Kilnfile
Given I have a tile source directory "testdata/tiles/non-standard-paths"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ func copyTileDirectory(dir, tileDirectory string) (string, error) {
if err := executeAndWrapError(testTileDir, env, "git", "add", "."); err != nil {
return "", fmt.Errorf("tile path is not a repository: adding initial files failed: %w", err)
}
env = updateEnvVar(env, "GIT_AUTHOR_DATE", "Thu, 07 Apr 2005 22:13:13")
env = updateEnvVar(env, "GIT_COMMITTER_DATE", "Thu, 07 Apr 2005 22:13:13")
env = updateEnvVar(env, "GIT_AUTHOR_DATE", "1112937193 -0700")
env = updateEnvVar(env, "GIT_COMMITTER_DATE", "1112937193 -0700")
if err := executeAndWrapError(testTileDir, env, "git", "commit", "-m", "initial commit"); err != nil {
return "", fmt.Errorf("tile path is not a repository: adding initial files failed: %w", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"version": "0.1.0",
"kiln_version": "0.0.0+acceptance-tests",
"tile_directory": "tile",
"file_checksum": "8800f6533aa968f517de292a5297af034d451485e22f79203ee8042a1ef47803"
"file_checksum": "781290c114d1e06f44e4bf05c22b5b03ee576f6526b28b103417050934f878b3"
}

0 comments on commit 5552ac4

Please sign in to comment.