From 8f3621813e44df2dace49a6400cfe870bc3778ea Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 22 Sep 2022 19:38:09 +0200 Subject: test docker runner timeouts --- planetwars-matchrunner/src/lib.rs | 2 +- planetwars-matchrunner/src/match_context.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'planetwars-matchrunner/src') diff --git a/planetwars-matchrunner/src/lib.rs b/planetwars-matchrunner/src/lib.rs index fcd4799..d26e810 100644 --- a/planetwars-matchrunner/src/lib.rs +++ b/planetwars-matchrunner/src/lib.rs @@ -16,7 +16,7 @@ use match_log::{create_log_sink, MatchLogger}; use planetwars_rules::PwConfig; use serde::{Deserialize, Serialize}; -use self::match_context::{EventBus, PlayerHandle}; +pub use self::match_context::{EventBus, PlayerHandle}; pub struct MatchConfig { pub map_name: String, diff --git a/planetwars-matchrunner/src/match_context.rs b/planetwars-matchrunner/src/match_context.rs index 1dac09b..859b11d 100644 --- a/planetwars-matchrunner/src/match_context.rs +++ b/planetwars-matchrunner/src/match_context.rs @@ -150,7 +150,7 @@ impl Future for Request { } } -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] pub enum RequestError { Timeout, } -- cgit v1.2.3