mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
finish
This commit is contained in:
parent
50df84eec9
commit
0efadb6344
4 changed files with 12 additions and 8 deletions
|
@ -1,3 +1,6 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package integration
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package integration
|
||||
|
||||
import (
|
||||
|
@ -23,11 +26,9 @@ func TestMain(m *testing.M) {
|
|||
log.Printf("=== TestMain: Server STOPED ==\n")
|
||||
}()
|
||||
|
||||
time.Sleep(30 * time.Second)
|
||||
time.Sleep(20 * time.Second)
|
||||
|
||||
m.Run()
|
||||
|
||||
os.Exit(0)
|
||||
os.Exit(m.Run())
|
||||
}
|
||||
|
||||
func startServer(ctx context.Context) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue