-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flakes] ensure all golang tests pass when flakes flag is enabled (#697)
## Summary Needed to make two fixes: 1. `RmTest`: here, the test was failing because with flakes flag we now check that the user has the package installed previously and so we do `devbox run <command>` to trigger package installation as a side-effect. 2. `ShellTest`: Flakes no longer works with there being no default shell, so we call that out. But in a subsequent PR, I'll revisit this since I think we can get rid of this block. Wanted to keep the scope of this PR to just enabling these tests to pass. ## How was it tested? enabled the Flakes feature flag in the code and ran `go test ./...`
- Loading branch information
Showing
4 changed files
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ | |
"nixpkgs": { | ||
"commit": "52e3e80afff4b16ccb7c52e9f0f5220552f03d04" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters