Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make acceptance tests less error prone when changes in hello-tile occur #462

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

crhntr
Copy link
Contributor

@crhntr crhntr commented Jan 12, 2024

This change makes each test use a temporary tile source directory and the source is copied from simple directories. Git is initialized for each test. Most changes to crhntr/hello-tile source files will no longer break kiln tests.

In both of these cases, the tests will fail with a clear error message.

  • Changes to crhntr/hello-tile milestones and issues might break kiln tests.
  • Removals of old crhntr/hello-release GitHub releases will break kiln tests.

@crhntr crhntr marked this pull request as draft January 12, 2024 02:42
crhntr added a commit that referenced this pull request Jan 12, 2024
I am working on a fix for this here: #462
@crhntr
Copy link
Contributor Author

crhntr commented Jan 12, 2024

the test failed and I have a more stable fix for that error here: #462

@pivotal-cf pivotal-cf deleted a comment from cf-gitbot Jan 12, 2024
@crhntr crhntr changed the title Fix flakey acceptance tests make acceptance tests less error prone when changes in hello-tile occur Jan 12, 2024
@crhntr crhntr added the tas-slingshots Created by https://github.com/orgs/pivotal-cf/teams/tas-strategic-initiatives-slingshot label Jan 12, 2024
crhntr added a commit that referenced this pull request Jan 12, 2024
I am working on a fix for this here: #462
pvaramballypivot pushed a commit that referenced this pull request Jan 12, 2024
I am working on a fix for this here: #462
@crhntr crhntr force-pushed the fix-flakey-acceptance-tests branch 7 times, most recently from 416a434 to a874b05 Compare January 12, 2024 21:39
also:
- add test script
- use exec instead of go-git
- fix shellcheck issue

remove unused submodule

fix git author config in tests

add gitkeep to release dirs
@crhntr crhntr force-pushed the fix-flakey-acceptance-tests branch from a874b05 to bc09b47 Compare January 12, 2024 21:43
@crhntr crhntr marked this pull request as ready for review January 12, 2024 21:45
@pvaramballypivot pvaramballypivot merged commit 0a154e6 into main Jan 16, 2024
3 checks passed
@pvaramballypivot pvaramballypivot deleted the fix-flakey-acceptance-tests branch January 16, 2024 16:33
notrepo05 pushed a commit to notrepo05/kiln that referenced this pull request Jan 23, 2024
I am working on a fix for this here: pivotal-cf#462
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tas-slingshots Created by https://github.com/orgs/pivotal-cf/teams/tas-strategic-initiatives-slingshot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants