You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by is...@apache.org on 2024/06/25 07:28:33 UTC
(ignite-3) branch main updated: IGNITE-22422 C++ Fix compute_test.all_arg_types flakiness (#3981)
This is an automated email from the ASF dual-hosted git repository.
isapego pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 5342b4355c IGNITE-22422 C++ Fix compute_test.all_arg_types flakiness (#3981)
5342b4355c is described below
commit 5342b4355ce75c7085f1ebaa3e78dfbd1eb8eaff
Author: Igor Sapego <is...@apache.org>
AuthorDate: Tue Jun 25 11:28:28 2024 +0400
IGNITE-22422 C++ Fix compute_test.all_arg_types flakiness (#3981)
---
modules/platforms/cpp/tests/client-test/compute_test.cpp | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/modules/platforms/cpp/tests/client-test/compute_test.cpp b/modules/platforms/cpp/tests/client-test/compute_test.cpp
index a58762c712..365d4fda75 100644
--- a/modules/platforms/cpp/tests/client-test/compute_test.cpp
+++ b/modules/platforms/cpp/tests/client-test/compute_test.cpp
@@ -241,7 +241,12 @@ TEST_F(compute_test, all_arg_types) {
check_argument<float>(0.123456f);
check_argument<float>(std::numeric_limits<float>::max(), "3.4028235E38");
- check_argument<float>(std::numeric_limits<float>::min(), "1.17549435E-38");
+ try {
+ check_argument<float>(std::numeric_limits<float>::min(), "1.17549435E-38");
+ }
+ catch (ignite_error&) {
+ check_argument<float>(std::numeric_limits<float>::min(), "1.1754944E-38");
+ }
check_argument<double>(0.987654);
check_argument<double>(std::numeric_limits<double>::max(), "1.7976931348623157E308");