Added warm-up time to tests
All checks were successful
Run Integration Tests / test (push) Successful in 1m31s
All checks were successful
Run Integration Tests / test (push) Successful in 1m31s
This commit is contained in:
parent
41f7eb4357
commit
ec01d75ffd
1 changed files with 4 additions and 0 deletions
|
@ -114,6 +114,10 @@ func TestApplication(t *testing.T) {
|
|||
|
||||
t.Log("Application is running")
|
||||
|
||||
// Warm-up period for 60s to allow preloading preferred Piped instance etc.
|
||||
t.Log("Warming up for 60s before running tests...")
|
||||
time.Sleep(60 * time.Second)
|
||||
|
||||
// Create a process instance for the application
|
||||
appProcess, err := process.NewProcess(int32(runCmd.Process.Pid))
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue