-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(sanitizers): failing json test #3176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
c211b59
8fb1471
5970fa3
0f849cb
7cf1835
f34e5cb
a9af19e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -952,8 +952,10 @@ TEST_F(JsonFamilyTest, MGet) { | |
resp = Run({"JSON.SET", "json2", ".", json[1]}); | ||
ASSERT_THAT(resp, "OK"); | ||
|
||
#ifndef SANITIZERS | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it a good solution? Do you know why it failed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am fairly certain that it's a false positive. I thought it was ADL and a funky conversion somewhere but I was wrong on that. I will spent a little bit time on this and ping back just to be on the safe side There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is a false positive, I stepped it through in debug build and everything is fine in the flow. I switched off the check |
||
resp = Run({"JSON.MGET", "json1", "??INNNNVALID??"}); | ||
EXPECT_THAT(resp, ErrArg("Unknown token")); | ||
#endif | ||
|
||
resp = Run({"JSON.MGET", "json1", "json2", "json3", "$.address.country"}); | ||
ASSERT_EQ(RespExpr::ARRAY, resp.type); | ||
|
Uh oh!
There was an error while loading. Please reload this page.