Skip to content

Commit

Permalink
added a marker file created after tester docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
reflog committed Jan 28, 2025
1 parent 3577dca commit adf2a29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tester/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@ func performLanternPing(urlToHit string, runId string, deviceId string, userId i

if runErr == nil {
fmt.Println("lantern ping completed successfully")
// create a marker file that will be used by the pinger to determine success
_ = os.WriteFile(dataDir+"/success", []byte(""), 0644)
}

_ = os.WriteFile(dataDir+"/output.txt", []byte(output), 0644)

return os.WriteFile(dataDir+"/timing.txt", []byte(fmt.Sprintf(`
result: %v
run-id: %s
Expand Down

0 comments on commit adf2a29

Please sign in to comment.