Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
bc28cd6f
Commit
bc28cd6f
authored
8 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Scale poll-cv test timeouts up
parent
1747055e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/run_tests/run_tests.py
+5
-1
5 additions, 1 deletion
tools/run_tests/run_tests.py
with
5 additions
and
1 deletion
tools/run_tests/run_tests.py
+
5
−
1
View file @
bc28cd6f
...
@@ -231,6 +231,9 @@ class CLanguage(object):
...
@@ -231,6 +231,9 @@ class CLanguage(object):
'
GRPC_POLL_STRATEGY
'
:
polling_strategy
,
'
GRPC_POLL_STRATEGY
'
:
polling_strategy
,
'
GRPC_VERBOSITY
'
:
'
DEBUG
'
}
'
GRPC_VERBOSITY
'
:
'
DEBUG
'
}
shortname_ext
=
''
if
polling_strategy
==
'
all
'
else
'
GRPC_POLL_STRATEGY=%s
'
%
polling_strategy
shortname_ext
=
''
if
polling_strategy
==
'
all
'
else
'
GRPC_POLL_STRATEGY=%s
'
%
polling_strategy
timeout_scaling
=
1
if
polling_strategy
==
'
poll-cv
'
:
timeout_scaling
*=
5
if
self
.
config
.
build_config
in
target
[
'
exclude_configs
'
]:
if
self
.
config
.
build_config
in
target
[
'
exclude_configs
'
]:
continue
continue
if
self
.
args
.
iomgr_platform
in
target
.
get
(
'
exclude_iomgrs
'
,
[]):
if
self
.
args
.
iomgr_platform
in
target
.
get
(
'
exclude_iomgrs
'
,
[]):
...
@@ -269,6 +272,7 @@ class CLanguage(object):
...
@@ -269,6 +272,7 @@ class CLanguage(object):
out
.
append
(
self
.
config
.
job_spec
(
cmdline
,
out
.
append
(
self
.
config
.
job_spec
(
cmdline
,
shortname
=
'
%s --gtest_filter=%s %s
'
%
(
binary
,
test
,
shortname_ext
),
shortname
=
'
%s --gtest_filter=%s %s
'
%
(
binary
,
test
,
shortname_ext
),
cpu_cost
=
cpu_cost
,
cpu_cost
=
cpu_cost
,
timeout_seconds
=
_DEFAULT_TIMEOUT_SECONDS
*
timeout_scaling
,
environ
=
env
))
environ
=
env
))
else
:
else
:
cmdline
=
[
binary
]
+
target
[
'
args
'
]
cmdline
=
[
binary
]
+
target
[
'
args
'
]
...
@@ -279,7 +283,7 @@ class CLanguage(object):
...
@@ -279,7 +283,7 @@ class CLanguage(object):
shortname_ext
,
shortname_ext
,
cpu_cost
=
cpu_cost
,
cpu_cost
=
cpu_cost
,
flaky
=
target
.
get
(
'
flaky
'
,
False
),
flaky
=
target
.
get
(
'
flaky
'
,
False
),
timeout_seconds
=
target
.
get
(
'
timeout_seconds
'
,
_DEFAULT_TIMEOUT_SECONDS
),
timeout_seconds
=
target
.
get
(
'
timeout_seconds
'
,
_DEFAULT_TIMEOUT_SECONDS
)
*
timeout_scaling
,
environ
=
env
))
environ
=
env
))
elif
self
.
args
.
regex
==
'
.*
'
or
self
.
platform
==
'
windows
'
:
elif
self
.
args
.
regex
==
'
.*
'
or
self
.
platform
==
'
windows
'
:
print
(
'
\n
WARNING: binary not found, skipping
'
,
binary
)
print
(
'
\n
WARNING: binary not found, skipping
'
,
binary
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment