-
Notifications
You must be signed in to change notification settings - Fork 622
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
[stateless_validation] test_chunk_forwarding_optimization fails with --features statelessnet_protocol #10600
Comments
Ah, the check for increased metric is disabled on // With very high probability we should've encountered some cases where forwarded parts
// could not be applied because the chunk header is not available. Assert this did indeed
// happen.
// Note: For nightly, which includes SingleShardTracking, this check is disabled because
// we're so efficient with part forwarding now that we don't seem to be forwarding more
// than it is necessary.
if !cfg!(feature = "nightly") {
assert!(PARTIAL_ENCODED_CHUNK_FORWARD_CACHED_WITHOUT_HEADER.get() > 0.0);
} That sounds weird. But I guess we can also disable the check for |
The check was disabled for "nightly" in #10582 by @robin-near, 4 days ago. |
…ature The main assertion in the integration test `test_chunk_forwarding_optimization` is disabled on `--features nightly`, which is a recent change that was introduced due to single shard tracking in near#10582. Let's also disable it on `--features statelessnet_protocol`, the reasoning is similar. Fixes: near#10600
…ature (#10601) The main assertion in the integration test `test_chunk_forwarding_optimization` is disabled on `--features nightly`, which is a recent change that was introduced due to single shard tracking in #10582. Let's also disable it on `--features statelessnet_protocol`, the reasoning is similar. Fixes: #10600
Runing the integration test
test_chunk_forwarding_optimization
with--features statelessnet_protocol
causes the test to fail:It looks like the
PARTIAL_ENCODED_CHUNK_FORWARD_CACHED_WITHOUT_HEADER
isn't increased as it should.The test passes with
--features nightly
and no special features (stable).The test was modified in #10527 to make it work with stateless validation. It started passing with
--features nightly
and the fix was merged. Now it turns out that it doesn't work with--features stateless_protocol
, so it'll need to be adjusted further.It should be fixed quickly because it causes CI runs to fail: (e.g https://github.com/near/nearcore/actions/runs/7872120842/job/21476689267)
Refs: #10506, zulip conversation
The text was updated successfully, but these errors were encountered: