Skip to content

Commit e18e3f5

Browse files
authored
Update app_integration_test.go
1 parent 045f844 commit e18e3f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/app_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ type FullAppTestEnvironment struct {
2626

2727
// TestFullAppWithModelRunner tests the complete integration from backend to Model Runner
2828
func TestFullAppWithModelRunner(t *testing.T) {
29-
// Skip if short mode is enabled
3029
if testing.Short() {
3130
t.Skip("skipping full application integration test in short mode")
3231
}
@@ -133,7 +132,8 @@ func startBackend(modelRunnerURL string) (*os.Process, string, error) {
133132
env = append(env, "API_KEY=ollama") // Default API key
134133

135134
// Start the backend on a random port
136-
cmd := exec.Command("go", "run", "../main.go")
135+
// Updated path to point to the main.go in the project root
136+
cmd := exec.Command("go", "run", "../../main.go")
137137
cmd.Env = env
138138
cmd.Stdout = os.Stdout // Redirect output for debugging
139139
cmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)