Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added timeout to netperf remote script #1306

Merged
merged 1 commit into from
Mar 7, 2017
Merged

Added timeout to netperf remote script #1306

merged 1 commit into from
Mar 7, 2017

Conversation

tedsta
Copy link
Contributor

@tedsta tedsta commented Mar 6, 2017

Give the remote script

(length of test * max possible iterations) + 5 minutes

to complete.

@@ -319,10 +319,13 @@ def RunNetperf(vm, benchmark_name, server_ip, num_streams):
# Run all of the netperf processes and collect their stdout
# TODO: Record start times of netperf processes on the remote machine

# Give the remote script the test length plus 5 minutes to complete
remote_cmd_timeout = FLAGS.netperf_test_length + 300
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the test time also scales with FLAGS.netperf_max_iter

Copy link
Contributor

@ehankland ehankland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tedsta tedsta merged commit a5d34a0 into master Mar 7, 2017
@tedsta tedsta deleted the netperf_timeout branch March 7, 2017 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants