memory_quota_stress_test requires 64-bit (#27824)

* memory_quota_stress_test requires 64-bit

* clang-fmt
pull/25992/head
Craig Tiller 3 years ago committed by GitHub
parent 9ac9a013fc
commit b2d9ebcfbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      test/core/resource_quota/memory_quota_stress_test.cc

@ -210,4 +210,14 @@ class StressTest {
} // namespace grpc_core
int main(int, char**) { grpc_core::StressTest(16, 64).Run(8); }
int main(int, char**) {
if (sizeof(void*) != 8) {
gpr_log(
GPR_ERROR,
"This test assumes 64-bit processors in the values it uses for sizes. "
"Since this test is mostly aimed at TSAN coverage, and that's mostly "
"platform independent, we simply skip this test in 32-bit builds.");
return 0;
}
grpc_core::StressTest(16, 64).Run(8);
}

Loading…
Cancel
Save