Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
manycore
emper-io-eval
Commits
b805b992
Commit
b805b992
authored
Aug 30, 2021
by
Florian Fischer
Browse files
[bench/client] fix mutation during iteration bug
parent
3f4dbc3c
Pipeline
#67446
failed with stage
in 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bench/client.py
View file @
b805b992
...
...
@@ -124,15 +124,16 @@ def run_remote_clients(cmd: str, out: Path, err: Path, csv: Path,
for
host
in
hosts
:
# prepend out files with the host the client runs on
out
=
out
.
parent
/
f
'
{
host
}
-
{
out
.
name
}
'
err
=
err
.
parent
/
f
'
{
host
}
-
{
err
.
name
}
'
csv
=
csv
.
parent
/
f
'
{
host
}
-
{
csv
.
name
}
'
h_
out
=
out
.
parent
/
f
'
{
host
}
-
{
out
.
name
}
'
h_
err
=
err
.
parent
/
f
'
{
host
}
-
{
err
.
name
}
'
h_
csv
=
csv
.
parent
/
f
'
{
host
}
-
{
csv
.
name
}
'
files
.
extend
([
out
,
err
,
csv
])
files
.
extend
([
h_
out
,
h_
err
,
h_
csv
])
cmd
=
cmd
.
format
(
outfile
=
csv
)
h_
cmd
=
cmd
.
format
(
outfile
=
h_
csv
)
clients
.
append
(
Client
(
cmd
,
out
,
err
,
remote_cmd
=
remote_cmd
,
host
=
host
))
clients
.
append
(
Client
(
h_cmd
,
h_out
,
h_err
,
remote_cmd
=
remote_cmd
,
host
=
host
))
# await all clients
for
client
in
clients
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment