fix(tests): tighten stash reset proof for agent update (#5156)
This commit is contained in:
1 parent
6d80dd41d6
commit
8b22c20061
1 file changed
+1
-1
@@ -863,7 +863,7 @@ class TestAgentUpdateRequiresGatewayRestart:
|
||||
return '', False
|
||||
if args[0] == 'stash':
|
||||
return '', True
|
||||
if args[:2] == ['reset', '--hard', 'HEAD']:
|
||||
if args[:3] == ['reset', '--hard', 'HEAD']:
|
||||
return '', True
|
||||
if args[0] == 'pull':
|
||||
return 'Updating', True
|
||||
|
||||
Reference in new issue
Block a user