mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
feat: implement container health monitoring and rollback during rolling deployment (closes #24)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package e2e
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/psviderski/uncloud/pkg/api"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
// Disable the default health monitor period to speed up tests. Tests that need a non-zero monitor period
|
||||
// should set it explicitly via UpdateConfig.MonitorPeriod in their service spec.
|
||||
api.DefaultHealthMonitorPeriod = 0
|
||||
os.Exit(m.Run())
|
||||
}
|
||||
Reference in New Issue
Block a user