mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Test: fix conditional execution of HINCRBYFLOAT representation test.
This commit is contained in:
parent
06263485d4
commit
7c8ddab4f8
@ -525,7 +525,7 @@ start_server {tags {"hash"}} {
|
||||
# 1.23 cannot be represented correctly with 64 bit doubles, so we skip
|
||||
# the test, since we are only testing pretty printing here and is not
|
||||
# a bug if the program outputs things like 1.299999...
|
||||
if {!$::valgrind || ![string match *x86_64* [exec uname -a]]} {
|
||||
if {!$::valgrind && [string match *x86_64* [exec uname -a]]} {
|
||||
test {Test HINCRBYFLOAT for correct float representation (issue #2846)} {
|
||||
r del myhash
|
||||
assert {[r hincrbyfloat myhash float 1.23] eq {1.23}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user