We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cedc62 commit 441b03dCopy full SHA for 441b03d
api/v1/atlasdeployment_types_test.go
@@ -100,6 +100,23 @@ func TestDeploymentCELChecks(t *testing.T) {
100
},
101
102
103
+ {
104
+ title: "can migrate from serverless to flex cluster",
105
+ old: &AtlasDeployment{
106
+ Spec: AtlasDeploymentSpec{
107
+ ServerlessSpec: &ServerlessSpec{
108
+ Name: "my-serverless",
109
+ },
110
111
112
+ obj: &AtlasDeployment{
113
114
+ FlexSpec: &FlexSpec{
115
116
117
118
119
120
} {
121
t.Run(tc.title, func(t *testing.T) {
122
// inject a project to avoid other CEL validations being hit
0 commit comments