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
a025ea7c
Commit
a025ea7c
authored
8 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
test timeouts eliminated by mistake
parent
ab8fb5be
No related branches found
No related tags found
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
-8
5 additions, 8 deletions
tools/run_tests/run_tests.py
with
5 additions
and
8 deletions
tools/run_tests/run_tests.py
+
5
−
8
View file @
a025ea7c
...
@@ -307,10 +307,9 @@ class NodeLanguage(object):
...
@@ -307,10 +307,9 @@ class NodeLanguage(object):
def
test_specs
(
self
):
def
test_specs
(
self
):
if
self
.
platform
==
'
windows
'
:
if
self
.
platform
==
'
windows
'
:
return
[
self
.
config
.
job_spec
([
'
tools
\\
run_tests
\\
run_node.bat
'
]
,
None
)]
return
[
self
.
config
.
job_spec
([
'
tools
\\
run_tests
\\
run_node.bat
'
])]
else
:
else
:
return
[
self
.
config
.
job_spec
([
'
tools/run_tests/run_node.sh
'
,
self
.
node_version
],
return
[
self
.
config
.
job_spec
([
'
tools/run_tests/run_node.sh
'
,
self
.
node_version
],
None
,
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
)]
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
)]
def
pre_build_steps
(
self
):
def
pre_build_steps
(
self
):
...
@@ -352,7 +351,7 @@ class PhpLanguage(object):
...
@@ -352,7 +351,7 @@ class PhpLanguage(object):
_check_compiler
(
self
.
args
.
compiler
,
[
'
default
'
])
_check_compiler
(
self
.
args
.
compiler
,
[
'
default
'
])
def
test_specs
(
self
):
def
test_specs
(
self
):
return
[
self
.
config
.
job_spec
([
'
src/php/bin/run_tests.sh
'
],
None
,
return
[
self
.
config
.
job_spec
([
'
src/php/bin/run_tests.sh
'
],
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
)]
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
)]
def
pre_build_steps
(
self
):
def
pre_build_steps
(
self
):
...
@@ -388,7 +387,7 @@ class Php7Language(object):
...
@@ -388,7 +387,7 @@ class Php7Language(object):
_check_compiler
(
self
.
args
.
compiler
,
[
'
default
'
])
_check_compiler
(
self
.
args
.
compiler
,
[
'
default
'
])
def
test_specs
(
self
):
def
test_specs
(
self
):
return
[
self
.
config
.
job_spec
([
'
src/php/bin/run_tests.sh
'
],
None
,
return
[
self
.
config
.
job_spec
([
'
src/php/bin/run_tests.sh
'
],
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
)]
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
)]
def
pre_build_steps
(
self
):
def
pre_build_steps
(
self
):
...
@@ -610,7 +609,6 @@ class CSharpLanguage(object):
...
@@ -610,7 +609,6 @@ class CSharpLanguage(object):
for
test
in
tests_by_assembly
[
assembly
]:
for
test
in
tests_by_assembly
[
assembly
]:
cmdline
=
runtime_cmd
+
[
assembly_file
,
'
--test=%s
'
%
test
]
+
nunit_args
cmdline
=
runtime_cmd
+
[
assembly_file
,
'
--test=%s
'
%
test
]
+
nunit_args
specs
.
append
(
self
.
config
.
job_spec
(
cmdline
,
specs
.
append
(
self
.
config
.
job_spec
(
cmdline
,
None
,
shortname
=
'
csharp.%s
'
%
test
,
shortname
=
'
csharp.%s
'
%
test
,
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
))
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
))
else
:
else
:
...
@@ -628,7 +626,6 @@ class CSharpLanguage(object):
...
@@ -628,7 +626,6 @@ class CSharpLanguage(object):
# to prevent problems with registering the profiler.
# to prevent problems with registering the profiler.
run_exclusive
=
1000000
run_exclusive
=
1000000
specs
.
append
(
self
.
config
.
job_spec
(
cmdline
,
specs
.
append
(
self
.
config
.
job_spec
(
cmdline
,
None
,
shortname
=
'
csharp.coverage.%s
'
%
assembly
,
shortname
=
'
csharp.coverage.%s
'
%
assembly
,
cpu_cost
=
run_exclusive
,
cpu_cost
=
run_exclusive
,
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
))
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
))
...
@@ -687,7 +684,7 @@ class ObjCLanguage(object):
...
@@ -687,7 +684,7 @@ class ObjCLanguage(object):
def
test_specs
(
self
):
def
test_specs
(
self
):
return
[
return
[
self
.
config
.
job_spec
([
'
src/objective-c/tests/run_tests.sh
'
],
self
.
config
.
job_spec
([
'
src/objective-c/tests/run_tests.sh
'
],
timeout_seconds
=
None
,
timeout_seconds
=
60
*
60
,
shortname
=
'
objc-tests
'
,
shortname
=
'
objc-tests
'
,
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
),
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
),
self
.
config
.
job_spec
([
'
src/objective-c/tests/build_example_test.sh
'
],
self
.
config
.
job_spec
([
'
src/objective-c/tests/build_example_test.sh
'
],
...
@@ -732,7 +729,7 @@ class Sanity(object):
...
@@ -732,7 +729,7 @@ class Sanity(object):
import
yaml
import
yaml
with
open
(
'
tools/run_tests/sanity/sanity_tests.yaml
'
,
'
r
'
)
as
f
:
with
open
(
'
tools/run_tests/sanity/sanity_tests.yaml
'
,
'
r
'
)
as
f
:
return
[
self
.
config
.
job_spec
(
cmd
[
'
script
'
].
split
(),
return
[
self
.
config
.
job_spec
(
cmd
[
'
script
'
].
split
(),
timeout_seconds
=
None
,
environ
=
{
'
TEST
'
:
'
true
'
},
timeout_seconds
=
30
*
60
,
environ
=
{
'
TEST
'
:
'
true
'
},
cpu_cost
=
cmd
.
get
(
'
cpu_cost
'
,
1
))
cpu_cost
=
cmd
.
get
(
'
cpu_cost
'
,
1
))
for
cmd
in
yaml
.
load
(
f
)]
for
cmd
in
yaml
.
load
(
f
)]
...
...
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