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
117c8af8
Commit
117c8af8
authored
9 years ago
by
Sree Kuchibhotla
Browse files
Options
Downloads
Patches
Plain Diff
Skip running stress_tests on jenkins by run_tests.py (This will fix the
issue addressed by commit:
e6cd0e70
, the right way)
parent
66bae6f4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.yaml
+1
-0
1 addition, 0 deletions
build.yaml
test/cpp/interop/stress_test.cc
+1
-8
1 addition, 8 deletions
test/cpp/interop/stress_test.cc
with
2 additions
and
8 deletions
build.yaml
+
1
−
0
View file @
117c8af8
...
@@ -2107,6 +2107,7 @@ targets:
...
@@ -2107,6 +2107,7 @@ targets:
-
posix
-
posix
-
name
:
stress_test
-
name
:
stress_test
build
:
test
build
:
test
run
:
false
language
:
c++
language
:
c++
headers
:
headers
:
-
test/cpp/interop/client_helper.h
-
test/cpp/interop/client_helper.h
...
...
This diff is collapsed.
Click to expand it.
test/cpp/interop/stress_test.cc
+
1
−
8
View file @
117c8af8
...
@@ -187,14 +187,7 @@ int main(int argc, char** argv) {
...
@@ -187,14 +187,7 @@ int main(int argc, char** argv) {
// Parse test cases and weights
// Parse test cases and weights
if
(
FLAGS_test_cases
.
length
()
==
0
)
{
if
(
FLAGS_test_cases
.
length
()
==
0
)
{
gpr_log
(
GPR_INFO
,
"Not running tests. The 'test_cases' string is empty"
);
gpr_log
(
GPR_INFO
,
"Not running tests. The 'test_cases' string is empty"
);
return
1
;
// TODO(sreek): stress_tests is currently being run by run_tests.py in
// jenkins. There does not seem to be a straightforward way to skip this.
// So, for now, return 0 (i.e success) to keep jenkins build happy. Moreover
// we don't want to run stress_tests (for now) in jenkins anyway.
// Once we figure out a good way to skip this tests in run_tests.py, I will
// change this to 'return 1'
return
0
;
}
}
vector
<
pair
<
TestCaseType
,
int
>>
tests
;
vector
<
pair
<
TestCaseType
,
int
>>
tests
;
...
...
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