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

revert: "fix: add a build.lock file to gate the buildengine (#1670)" #1732

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

alecthomas
Copy link
Collaborator

@alecthomas alecthomas commented Jun 11, 2024

This reverts commit e711523.

=== Failed
=== FAIL: buildengine TestDissallowMultipleEngines (0.00s)
    /home/runner/work/ftl/ftl/buildengine/engine_test.go:65: Did not expect an error but got:
        failed to lock file at: /home/runner/.ftl/build.lock

DONE 383 tests, 1 skipped, 1 failure in 115.533s
Error: === RUN   TestDissallowMultipleEngines
    buildengine/engine_test.go:65: Did not expect an error but got:
        failed to lock file at: /home/runner/.ftl/build.lock

cc @safeer

This is occurring because go test runs each packages tests in parallel, so multiple tests will be running concurrently and thus multiple build engines.

This reverts commit e711523.

```
=== Failed
=== FAIL: buildengine TestDissallowMultipleEngines (0.00s)
    /home/runner/work/ftl/ftl/buildengine/engine_test.go:65: Did not expect an error but got:
        failed to lock file at: /home/runner/.ftl/build.lock

DONE 383 tests, 1 skipped, 1 failure in 115.533s
Error: === RUN   TestDissallowMultipleEngines
    buildengine/engine_test.go:65: Did not expect an error but got:
        failed to lock file at: /home/runner/.ftl/build.lock
```
@alecthomas alecthomas requested review from a team and wesbillman and removed request for a team June 11, 2024 06:15
@ftl-robot ftl-robot mentioned this pull request Jun 11, 2024
@alecthomas alecthomas merged commit ca8478e into main Jun 11, 2024
40 checks passed
@alecthomas alecthomas deleted the aat/revert-lockfile branch June 11, 2024 06:20
@alecthomas
Copy link
Collaborator Author

Fixed in #1737

@safeer
Copy link
Contributor

safeer commented Jun 11, 2024

Ohh nice. Thank you @alecthomas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants