fix(tests): tighten stash reset proof for agent update (#5156)
This commit is contained in:
parent
6d80dd41d6
commit
8b22c20061
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue