-
Notifications
You must be signed in to change notification settings - Fork 50
Remove readiness probe otel-agent sidecars #1791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
313a440
77a9062
9e508cc
d7aa3bc
42b9ab4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -1297,13 +1297,14 @@ func TestApiResourceFormatting(t *testing.T) { | |||||
} | ||||||
|
||||||
func TestNomosMigrate(t *testing.T) { | ||||||
nt := nomostest.New(t, nomostesting.NomosCLI, ntopts.SkipConfigSyncInstall) | ||||||
nt := nomostest.New(t, nomostesting.NomosCLI) | ||||||
|
||||||
nt.T.Cleanup(func() { | ||||||
// Restore state of Config Sync installation after test | ||||||
if err := nomostest.InstallConfigSync(nt); err != nil { | ||||||
if err := nomostest.InstallConfigSyncFromManifest(nt); err != nil { | ||||||
nt.T.Fatal(err) | ||||||
} | ||||||
nt.Must(nt.WatchForAllSyncs()) | ||||||
}) | ||||||
nt.T.Cleanup(func() { | ||||||
cmObj := &unstructured.Unstructured{ | ||||||
|
@@ -1451,11 +1452,11 @@ func TestNomosMigrate(t *testing.T) { | |||||
configmanagement.RGControllerName, configmanagement.RGControllerNamespace) | ||||||
}) | ||||||
tg.Go(func() error { | ||||||
return nt.Watcher.WatchForNotFound(kinds.Deployment(), | ||||||
return nt.Watcher.WatchForCurrentStatus(kinds.Deployment(), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The change from Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
core.RootReconcilerName(configsync.RootSyncName), configsync.ControllerNamespace) | ||||||
}) | ||||||
tg.Go(func() error { | ||||||
return nt.Watcher.WatchForNotFound(kinds.RootSyncV1Beta1(), | ||||||
return nt.Watcher.WatchForCurrentStatus(kinds.RootSyncV1Beta1(), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The change from
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
configsync.RootSyncName, configsync.ControllerNamespace) | ||||||
tiffanny29631 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
}) | ||||||
if err := tg.Wait(); err != nil { | ||||||
|
@@ -1464,14 +1465,14 @@ func TestNomosMigrate(t *testing.T) { | |||||
} | ||||||
|
||||||
func TestNomosMigrateMonoRepo(t *testing.T) { | ||||||
nt := nomostest.New(t, nomostesting.NomosCLI, ntopts.SkipConfigSyncInstall) | ||||||
nt := nomostest.New(t, nomostesting.NomosCLI) | ||||||
|
||||||
nt.T.Cleanup(func() { | ||||||
// Restore state of Config Sync installation after test. | ||||||
// This also emulates upgrading to the current version after migrating | ||||||
if err := nomostest.InstallConfigSync(nt); err != nil { | ||||||
if err := nomostest.InstallConfigSyncFromManifest(nt); err != nil { | ||||||
nt.T.Fatal(err) | ||||||
} | ||||||
nt.Must(nt.WatchForAllSyncs()) | ||||||
}) | ||||||
nt.T.Cleanup(func() { | ||||||
crds := []string{ | ||||||
|
@@ -1707,13 +1708,14 @@ func TestNomosMigrateMonoRepo(t *testing.T) { | |||||
// This test case validates the behavior of the uninstall script defined | ||||||
// at installation/uninstall_configmanagement.sh | ||||||
func TestACMUninstallScript(t *testing.T) { | ||||||
nt := nomostest.New(t, nomostesting.NomosCLI, ntopts.SkipConfigSyncInstall) | ||||||
nt := nomostest.New(t, nomostesting.NomosCLI) | ||||||
|
||||||
nt.T.Cleanup(func() { | ||||||
// Restore state of Config Sync installation after test | ||||||
if err := nomostest.InstallConfigSync(nt); err != nil { | ||||||
if err := nomostest.InstallConfigSyncFromManifest(nt); err != nil { | ||||||
nt.T.Fatal(err) | ||||||
} | ||||||
nt.Must(nt.WatchForAllSyncs()) | ||||||
}) | ||||||
nt.T.Cleanup(func() { | ||||||
cmObj := &unstructured.Unstructured{ | ||||||
|
@@ -1861,11 +1863,11 @@ func TestACMUninstallScript(t *testing.T) { | |||||
configmanagement.RGControllerName, configmanagement.RGControllerNamespace) | ||||||
}) | ||||||
tg.Go(func() error { | ||||||
return nt.Watcher.WatchForNotFound(kinds.Deployment(), | ||||||
return nt.Watcher.WatchForCurrentStatus(kinds.Deployment(), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The change from
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
core.RootReconcilerName(configsync.RootSyncName), configsync.ControllerNamespace) | ||||||
}) | ||||||
tg.Go(func() error { | ||||||
return nt.Watcher.WatchForNotFound(kinds.RootSyncV1Beta1(), | ||||||
return nt.Watcher.WatchForCurrentStatus(kinds.RootSyncV1Beta1(), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The change from
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
configsync.RootSyncName, configsync.ControllerNamespace) | ||||||
}) | ||||||
if err := tg.Wait(); err != nil { | ||||||
|
Uh oh!
There was an error while loading. Please reload this page.