Skip to content

Commit

Permalink
Merge pull request #1767 from AntelopeIO/GH-1736-test-main
Browse files Browse the repository at this point in the history
[5.0 -> main] Test: read-only trxs should only be posted to read_exclusive queue
  • Loading branch information
heifner authored Oct 12, 2023
2 parents 2e1d7a3 + 76d686e commit f8caf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_read_only_trx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void test_trxs_common(std::vector<const char*>& specific_args, bool test_disable
chain_plug->get_read_only_api(fc::seconds(90)).get_account(chain_apis::read_only::get_account_params{.account_name=config::system_account_name}, fc::time_point::now()+fc::seconds(90));
++num_get_account_calls;
});
app->executor().post( priority::low, exec_queue::read_only, [ptrx, &next_calls, &num_posts, &trace_with_except, &trx_match, &app]() {
app->executor().post( priority::low, exec_queue::read_exclusive, [ptrx, &next_calls, &num_posts, &trace_with_except, &trx_match, &app]() {
++num_posts;
bool return_failure_traces = true;
app->get_method<plugin_interface::incoming::methods::transaction_async>()(ptrx,
Expand Down

0 comments on commit f8caf66

Please sign in to comment.