Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
undo change for util test
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed May 9, 2022
1 parent 4944bd2 commit 9e8853b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions node/subsystem-util/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.

#![cfg(test)]

use super::*;
use assert_matches::assert_matches;
use executor::block_on;
Expand Down Expand Up @@ -90,13 +92,12 @@ where
// FIXME XXX
// this was a hack for testing, for sending a message to a subsystem itself
// on a bounded channel which is outragiously stupid, even for a test case
// sender
// .send_message(CollatorProtocolMessage::Invalid(
// dummy_hash(),
// dummy_candidate_receipt(dummy_hash()),
// ))
// .await;
unimplemented!("Probably delete this testcase entirely TODO")
sender
.send_message(CollatorProtocolMessage::Invalid(
dummy_hash(),
dummy_candidate_receipt(dummy_hash()),
))
.await;
}

// it isn't necessary to break run_loop into its own function,
Expand Down

0 comments on commit 9e8853b

Please sign in to comment.