File tree Expand file tree Collapse file tree
src/clusterfuzz/_internal/tests/core/swarming Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,21 +97,6 @@ def test_get_spec_from_config_with_docker_image(self):
9797
9898 self .assertEqual (spec , expected_spec )
9999
100- def test_get_spec_with_swarming_os_dimension (self ):
101- """Tests that _get_new_task_spec uses SWARMING_OS_DIMENSION if present."""
102- job = data_types .Job (
103- name = 'libfuzzer_chrome_asan' ,
104- platform = 'LINUX' ,
105- environment_string = 'SWARMING_OS_DIMENSION = custom_os' )
106- job .put ()
107- spec = swarming ._get_new_task_spec ( # pylint: disable=protected-access
108- 'corpus_pruning' , job .name , 'https://download_url' )
109-
110- # Verify that the 'os' dimension is 'custom_os' instead of 'LINUX'.
111- dimensions = spec .task_slices [0 ].properties .dimensions
112- os_dimension = [d .value for d in dimensions if d .key == 'os' ][0 ]
113- self .assertEqual (os_dimension , 'custom_os' )
114-
115100 def test_get_spec_from_config_raises_error_on_unknown_config (self ):
116101 """Tests that _get_new_task_spec raises error when there's no mapping for
117102 the config."""
You can’t perform that action at this time.
0 commit comments