Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
wildum committed Oct 17, 2024
1 parent 5f7a72c commit 490f032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/integration-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ func runIntegrationTests(cmd *cobra.Command, args []string) {
panic(err)
}
logChan = make(chan TestLog, len(testDirs))
runAllTests(alloyBinaryPath)
runAllTests(alloyBinaryPath, testFolder)
}
}
4 changes: 2 additions & 2 deletions internal/cmd/integration-tests/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ func runSingleTest(alloyBinaryPath string, testDir string, port int) {
}
}

func runAllTests(alloyBinaryPath string) {
testDirs, err := filepath.Glob("./tests/*")
func runAllTests(alloyBinaryPath string, testFolder string) {
testDirs, err := filepath.Glob(testFolder + "*")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 490f032

Please sign in to comment.