@@ -146,22 +146,6 @@ func TestCheckAutomationStatusIsGoal_AuthenticationTransitions(t *testing.T) {
146
146
expectedReady : false ,
147
147
expectedMessage : "authentication transitions in progress for 1 processes" ,
148
148
},
149
- {
150
- name : "should wait for InitiateReplSet move to complete" ,
151
- automationStatus : & AutomationStatus {
152
- GoalVersion : 3 ,
153
- Processes : []ProcessStatus {
154
- {
155
- Name : "rs0_0" ,
156
- LastGoalVersionAchieved : 3 ,
157
- Plan : []string {"InitiateReplSet" },
158
- },
159
- },
160
- },
161
- relevantProcesses : []string {"rs0_0" },
162
- expectedReady : false ,
163
- expectedMessage : "authentication transitions in progress for 1 processes" ,
164
- },
165
149
{
166
150
name : "should be ready when authentication transitions are complete" ,
167
151
automationStatus : & AutomationStatus {
@@ -191,7 +175,7 @@ func TestCheckAutomationStatusIsGoal_AuthenticationTransitions(t *testing.T) {
191
175
{
192
176
Name : "rs0_1" ,
193
177
LastGoalVersionAchieved : 7 ,
194
- Plan : []string {"RestartMongod " }, // Auth-related move in progress
178
+ Plan : []string {"WaitAuthUpdate " }, // Auth-related move in progress
195
179
},
196
180
},
197
181
},
@@ -239,11 +223,8 @@ func TestCheckAutomationStatusIsGoal_AuthenticationTransitions(t *testing.T) {
239
223
240
224
func TestIsAuthenticationTransitionMove (t * testing.T ) {
241
225
authMoves := []string {
242
- "RestartMongod" ,
243
226
"UpdateAuth" ,
244
- "UpdateConfig" ,
245
- "WaitForHealthy" ,
246
- "InitiateReplSet" ,
227
+ "WaitAuthUpdate" ,
247
228
}
248
229
249
230
nonAuthMoves := []string {
0 commit comments