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
test(integration): compare members across calls, not the whole x
The example rego intentionally returns different shapes for `x` in the
two states:
bucket_watched=false → x = nats.kv.get_data(bucket, "members")
(just the members map)
bucket_watched=true → x = data.nats.kv[bucket]
(the entire bucket: members + metadata + permissions)
The original assertion `x1 == x2` assumed otherwise and was always
wrong; before the deadlock fix the second call deadlocked instead of
returning, so we never got to compare. Now that calls return correctly
in both states, compare the members submap explicitly:
x_unwatched vs x_watched["members"]
0 commit comments