[Test] Dedup vs2019 test in the Windows test (#33385)

`cmake_ninja_vs2019` and `default` are using the same
`cmake_ninja_vs2019` so having two tests are waste so this is removing
`cmake_ninja_vs2019` leaving `default` which does `cmake_ninja_vs2019`.

This change can cut the space consumption by half and with 250GB disc, 

- Pre-test: 267,770,322,944 bytes free 
- Post-test: 134,499,295,232 bytes free
pull/33393/head
Esun Kim 2 years ago committed by GitHub
parent a63849bd39
commit 6b3949593d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/internal_ci/windows/grpc_run_tests_matrix.bat
  2. 19
      tools/run_tests/run_tests_matrix.py

@ -22,6 +22,9 @@ IF "%cd%"=="T:\src" (
)
endlocal
@rem Info on disk usage
dir t:\
@rem enter repo root
cd /d %~dp0\..\..\..
@ -48,4 +51,7 @@ set RUNTESTS_EXITCODE=%errorlevel%
@rem show ccache stats
ccache --show-stats
@rem Info on disk usage after test
dir t:\
exit /b %RUNTESTS_EXITCODE%

@ -354,15 +354,16 @@ def _create_portability_test_jobs(extra_args=[],
# TODO(jtattermusch): The C tests with exactly the same config are already running as part of the
# basictests_c suite (so we force --build_only to avoid running them twice).
# The C++ tests aren't all passing, so also force --build_only.
test_jobs += _generate_jobs(languages=['c', 'c++'],
configs=['dbg'],
platforms=['windows'],
arch='x64',
compiler='cmake_ninja_vs2019',
labels=['portability', 'corelang'],
extra_args=extra_args + ['--build_only'],
inner_jobs=inner_jobs,
timeout_seconds=_CPP_RUNTESTS_TIMEOUT)
# NOTE(veblush): This is not neded as default=cmake_ninja_vs2019
#test_jobs += _generate_jobs(languages=['c', 'c++'],
# configs=['dbg'],
# platforms=['windows'],
# arch='x64',
# compiler='cmake_ninja_vs2019',
# labels=['portability', 'corelang'],
# extra_args=extra_args + ['--build_only'],
# inner_jobs=inner_jobs,
# timeout_seconds=_CPP_RUNTESTS_TIMEOUT)
# C and C++ with no-exceptions on Linux
test_jobs += _generate_jobs(languages=['c', 'c++'],

Loading…
Cancel
Save