mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 16:57:00 +08:00
Add assertion for long commands on Windows for e2e_divider
Bug: 1419802 Change-Id: Ie80a84d34e0a249d625cae477475f35bfe81d2a0 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4765266 Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Almothana Athamneh <almuthanna@chromium.org>
This commit is contained in:
committed by
Devtools-frontend LUCI CQ
parent
366f38b65a
commit
34b5ae61b2
@@ -120,5 +120,9 @@ if __name__ == '__main__':
|
||||
iterations=int(args.iterations),
|
||||
shuffle=args.shuffle)
|
||||
for command in commands:
|
||||
print(' '.join([f'{k}={v}' for k, v in command['env'].items()] +
|
||||
command['command']))
|
||||
command_text = ' '.join(
|
||||
[f'{k}={v}'
|
||||
for k, v in command['env'].items()] + command['command'])
|
||||
assert len(command_text) < 8191,\
|
||||
'Command is too long for Windows, consider increasing the number of shards'
|
||||
print(command_text)
|
||||
|
||||
Reference in New Issue
Block a user