Merge pull request #6957 from ctiller/cpu_cost

Adjust cpu_cost of some tests to better reflect reality
pull/6963/head
Jan Tattermusch 9 years ago committed by GitHub
commit 4e29480e43
  1. 13
      build.yaml
  2. 15
      test/core/end2end/gen_build_yaml.py
  3. 334
      tools/run_tests/tests.json

@ -1445,7 +1445,7 @@ targets:
- gpr_test_util
- gpr
- name: fling_stream_test
cpu_cost: 2
cpu_cost: 1.5
build: test
language: c
src:
@ -1460,7 +1460,7 @@ targets:
- linux
- posix
- name: fling_test
cpu_cost: 2
cpu_cost: 1.5
build: test
language: c
src:
@ -1584,7 +1584,7 @@ targets:
- gpr_test_util
- gpr
- name: gpr_stack_lockfree_test
cpu_cost: 10
cpu_cost: 7
build: test
language: c
src:
@ -1601,7 +1601,7 @@ targets:
- gpr_test_util
- gpr
- name: gpr_sync_test
cpu_cost: 10
cpu_cost: 3
build: test
language: c
src:
@ -1610,7 +1610,7 @@ targets:
- gpr_test_util
- gpr
- name: gpr_thd_test
cpu_cost: 10
cpu_cost: 1
build: test
language: c
src:
@ -1948,6 +1948,7 @@ targets:
- gpr_test_util
- gpr
- name: invalid_call_argument_test
cpu_cost: 0.1
build: test
language: c
src:
@ -2267,7 +2268,7 @@ targets:
- linux
- posix
- name: tcp_posix_test
cpu_cost: 0.5
cpu_cost: 0.2
build: test
language: c
src:

@ -89,13 +89,12 @@ END2END_TESTS = {
'binary_metadata': default_test_options,
'call_creds': default_test_options._replace(secure=True),
'cancel_after_accept': default_test_options._replace(cpu_cost=LOWCPU),
'cancel_after_client_done': default_test_options._replace(cpu_cost=LOWCPU),
'cancel_after_client_done': default_test_options,
'cancel_after_invoke': default_test_options._replace(cpu_cost=LOWCPU),
'cancel_before_invoke': default_test_options._replace(cpu_cost=LOWCPU),
'cancel_in_a_vacuum': default_test_options._replace(cpu_cost=LOWCPU),
'cancel_with_status': default_test_options._replace(cpu_cost=LOWCPU),
'compressed_payload': default_test_options._replace(proxyable=False,
cpu_cost=LOWCPU),
'compressed_payload': default_test_options._replace(proxyable=False),
'connectivity': connectivity_test_options._replace(proxyable=False,
cpu_cost=LOWCPU),
'default_host': default_test_options._replace(needs_fullstack=True,
@ -111,20 +110,20 @@ END2END_TESTS = {
'invoke_large_request': default_test_options,
'large_metadata': default_test_options,
'max_concurrent_streams': default_test_options._replace(proxyable=False),
'max_message_length': default_test_options._replace(cpu_cost=LOWCPU),
'max_message_length': default_test_options,
'negative_deadline': default_test_options,
'no_op': default_test_options,
'payload': default_test_options._replace(cpu_cost=LOWCPU),
'payload': default_test_options,
'ping_pong_streaming': default_test_options,
'ping': connectivity_test_options._replace(proxyable=False),
'registered_call': default_test_options,
'request_with_flags': default_test_options._replace(proxyable=False),
'request_with_flags': default_test_options._replace(
proxyable=False, cpu_cost=LOWCPU),
'request_with_payload': default_test_options,
'server_finishes_request': default_test_options,
'shutdown_finishes_calls': default_test_options,
'shutdown_finishes_tags': default_test_options,
'simple_delayed_request': connectivity_test_options._replace(
cpu_cost=LOWCPU),
'simple_delayed_request': connectivity_test_options,
'simple_metadata': default_test_options,
'simple_request': default_test_options,
'trailing_metadata': default_test_options,

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save