You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expected [{"x": "1,2,3"}] but got [{"x": "3,2,1"}]
The policy is attempting to concatenate a set of strings, and it seems that the Wasm implementation does so in a different order. Since it was a set initially (non ordered) it doesn't appear to be an invalid result, but we need some way to better handle these test cases. The yaml specifies:
want_result:
- x: 1,2,3
Which implies a string value with a specific order.
The text was updated successfully, but these errors were encountered:
Since anything can happen, we now list the possibilities (3! = 6),
and check that any of them was the result.
Fixesopen-policy-agent#2924.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Since anything can happen, we now list the possibilities (3! = 6),
and check that any of them was the result.
Fixes#2924.
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
This test case test/cases/testdata/strings/test-strings-0883.yaml is failing when run with Wasm with the following result:
The policy is attempting to concatenate a set of strings, and it seems that the Wasm implementation does so in a different order. Since it was a set initially (non ordered) it doesn't appear to be an invalid result, but we need some way to better handle these test cases. The yaml specifies:
Which implies a string value with a specific order.
The text was updated successfully, but these errors were encountered: