Skip to content
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

fix skipped tests #1026

Closed
2 of 16 tasks
noot opened this issue Jul 24, 2020 · 3 comments
Closed
2 of 16 tasks

fix skipped tests #1026

noot opened this issue Jul 24, 2020 · 3 comments
Assignees
Labels
Epic Issue used to track development status of a complex feature, aggregates several issues

Comments

@noot
Copy link
Contributor

noot commented Jul 24, 2020

Expected Behavior

  • tests should pass on CI if they pass locally
  • add back skipped tests

Current Behavior

some tests fail randomly on CI: (add more as needed)

  • network TestGossip, TestStreamManager_KeepStream, TestPersistentPeers, TestRemovePeer, TestSetReservedPeer
  • messages TestService_HandleTransactionMessage
  • author TestAuthorModule_SubmitExtrinsic
  • author TestAuthorModule_SubmitExtrinsic_invalid
  • author TestAuthorModule_SubmitExtrinsic_InQueue
  • rpc TestStateModule_GetMetadata
  • build TestBuildBlock_failing
  • extrinsics TestAuthoritiesChangeExt_Encode
  • exports TestInstance_ExecuteBlock_PolkadotRuntime_PolkadotBlock1, TestInstance_Version_NodeRuntime
  • imports Test_ext_storage_clear_prefix_version_1
  • wasmer TestInstance_ExecuteBlock_GossamerRuntime, TestInstance_ApplyExtrinsic_GossamerRuntime, Test_ext_offline_index_set_version_1
  • grandpa TestGrandpa_NonAuthority, TestStress_Grandpa_ThreeAuthorities, TestStress_Grandpa_SixAuthorities, TestGrandpa_DifferentChains
  • stress tests TestSync_SingleSyncingNode, TestSync_ManyProducers, TestSync_Restart, TestSync_MultipleEpoch

Possible Solution

  • this may be due to some underlying randomness
  • for integration tests, this is probably due to timing issues

Checklist

  • I have read CODE_OF_CONDUCT and CONTRIBUTING
  • I have provided as much information as possible and necessary
  • I am planning to submit a pull request to fix this issue myself
@kishansagathiya
Copy link
Contributor

Some more context on TestGossip here #1026

@kishansagathiya
Copy link
Contributor

I have fixed some of the skipped tests (the ones related to dot/peerset and dot/network) in dht pr #2059

@jimjbrettj
Copy link
Contributor

We have rewritten many tests in our package making this issue stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Issue used to track development status of a complex feature, aggregates several issues
Projects
None yet
Development

No branches or pull requests

7 participants