mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
feat: implement container health monitoring and rollback during rolling deployment (closes #24)
This commit is contained in:
1 parent
17c1bb5c21
commit
7a9eac593f
7 files changed
+396
-25
No files matched your search
@@ -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