Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
eca9f39
Fix test runner
dvdplm Aug 30, 2021
717d384
Impl Default for SubscriptionTaskExecutor
dvdplm Aug 30, 2021
a0caf97
Keep the minimul amount of code needed to compile tests
dvdplm Aug 30, 2021
7e96a5a
Re-instate `RpcSession` (for now)
dvdplm Aug 30, 2021
b980cc6
cleanup
dvdplm Aug 30, 2021
52b9c17
Port over RPC tests
dvdplm Aug 30, 2021
b995567
Add tokio
dvdplm Aug 30, 2021
d8fa4f0
No need to map CallError to CallError
dvdplm Aug 30, 2021
11b26f1
Port over system_ rpc tests
dvdplm Sep 6, 2021
3cc43c2
Make it compile
dvdplm Sep 6, 2021
5f66746
Use prost 0.8
dvdplm Sep 6, 2021
6d6c1ff
Use prost 0.8
dvdplm Sep 6, 2021
ca95c8b
Make it compile
dvdplm Sep 6, 2021
dc56989
Merge branch 'dp-jsonrpsee-integration-2' into dp-rpc-testing
dvdplm Sep 6, 2021
c45bff5
Ignore more failing tests
dvdplm Sep 6, 2021
dc8a2d0
Comment out WIP tests
dvdplm Sep 6, 2021
174cbdd
Update lockfile
dvdplm Sep 6, 2021
b1ff6a7
No more juggling tokio versions
dvdplm Sep 6, 2021
1a74a64
No more wait_for_stop ?
dvdplm Sep 6, 2021
0eda45a
Remove browser-testing
dvdplm Sep 6, 2021
cb1f907
Arguments must be arrays
dvdplm Sep 6, 2021
d65a931
Use same argument names
dvdplm Sep 6, 2021
391d547
Resolve todo: no wait_for_stop for WS server
dvdplm Sep 6, 2021
f58eedb
fmt
dvdplm Sep 6, 2021
a88917f
log
dvdplm Sep 7, 2021
f96f0b5
One test passes
dvdplm Sep 8, 2021
ea0ea2c
Merge branch 'dp-jsonrpsee-integration-2' into dp-rpc-testing
dvdplm Sep 20, 2021
3c88421
Comment out more tests that aren't ported
dvdplm Sep 21, 2021
e15e945
Comment out more tests
dvdplm Sep 21, 2021
4997ede
Merge branch 'dp-jsonrpsee-integration-2' into dp-rpc-testing
dvdplm Sep 21, 2021
91c14b4
Fix tests after merge
dvdplm Sep 21, 2021
4f2b2cd
Subscription test
dvdplm Sep 21, 2021
46a637f
Invalid nonce test
dvdplm Sep 21, 2021
2278968
Pending exts
dvdplm Sep 21, 2021
4856d37
WIP removeExtrinsic test
dvdplm Sep 21, 2021
d4c6a4d
Test remove_extrinsic
dvdplm Sep 22, 2021
b7a78c9
Make state test: should_return_storage work
jsdw Sep 22, 2021
832ce62
Merge branch 'dp-rpc-testing' of github.com:paritytech/substrate into…
jsdw Sep 22, 2021
075e613
Uncomment/fix the other non-subscription related state tests
jsdw Sep 22, 2021
19f39f6
test: author_insertKey
dvdplm Sep 22, 2021
27a789d
test: author_rotateKeys
dvdplm Sep 22, 2021
f30a8be
Get rest of state tests passing
jsdw Sep 22, 2021
3116aa1
Merge branch 'dp-rpc-testing' of github.com:paritytech/substrate into…
jsdw Sep 22, 2021
947750c
asyncify a little more
jsdw Sep 22, 2021
3759645
Add todo to note #msg change
jsdw Sep 22, 2021
06cb6f5
Crashing test for has_session_keys
dvdplm Sep 23, 2021
966f0db
Fix error conversion to avoid stack overflows
dvdplm Sep 23, 2021
a34a590
test author_hasKey
dvdplm Sep 23, 2021
1abd83f
Add two missing tests
dvdplm Sep 24, 2021
bacbf42
offchain rpc tests
dvdplm Sep 24, 2021
3030956
Address todos
dvdplm Sep 24, 2021
58c8808
fmt
dvdplm Sep 24, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add todo to note #msg change
  • Loading branch information
jsdw committed Sep 22, 2021
commit 3759645714289b841d8ed49a0608bea65d7f4a05
1 change: 1 addition & 0 deletions client/rpc/src/state/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ async fn should_notify_about_storage_changes() {
client.import(BlockOrigin::Own, block).await.unwrap();

// We should get a message back on our subscription about the storage change:
// TODO (jsdw): previously we got back 2 messages here.
let msg = timeout_secs(5, sub_rx.next()).await;
assert_matches!(msg, Ok(Some(_)));

Expand Down