Skip to content

[BUG] redis 7.0.12 "trim on SET with big value" test fails on Intel and Silicon Macs running Ventura #12431

@selasley

Description

@selasley

Describe the bug

When doing "make check" all test pass on an intel Mac running Monterey but the "trim on SET with big value" test fails on intel and silicon Macs running Ventura

To reproduce

run make then make test

Expected behavior

On intel Mac running Monterey 12.6.7 all tests pass so expect all tests to pass on Macs running Ventura

Additional information

All tests pass with Xcode 14.2 under macOS Monterey 12.6.7

With Xcode 14.3.1 under macOS Ventura 13.4.1 (c) on intel and silicon Macs

$ make test
cd src && /Applications/Xcode.app/Contents/Developer/usr/bin/make test
CC Makefile.dep
Cleanup: may take some time... OK
Starting test server at port 21079
...
[ok]: MULTI with BGREWRITEAOF (225 ms)
[ok]: GETRANGE fuzzing (743 ms)
[err]: trim on SET with big value in tests/unit/type/string.tcl
Expected [r memory usage key] < 42000 (context: type source line 478 file /Users/selasley/src/redis-7.0.12/tests/unit/type/string.tcl cmd {assert {[r memory usage key] < 42000}} proc ::test)
[ok]: Extended SET can detect syntax errors (0 ms)
...

!!! WARNING The following tests failed:

*** [err]: trim on SET with big value in tests/unit/type/string.tcl
Expected [r memory usage key] < 42000 (context: type source line 478 file /Users/selasley/src/redis-7.0.12/tests/unit/type/string.tcl cmd {assert {[r memory usage key] < 42000}} proc ::test)
Cleanup: may take some time... OK
make[1]: *** [test] Error 1
make: *** [test] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions