File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ impl Database {
5858 #[ cfg( test) ]
5959 pub fn temp ( ) -> Fallible < Self > {
6060 let tempfile = NamedTempFile :: new ( ) ?;
61- dbg ! ( & tempfile. path( ) ) ;
6261 Database :: new (
6362 SqliteConnectionManager :: file ( tempfile. path ( ) ) ,
6463 Some ( tempfile) ,
Original file line number Diff line number Diff line change @@ -28,11 +28,6 @@ pub struct Agent {
2828impl Agent {
2929 fn with_experiment ( mut self , db : & Database ) -> Fallible < Self > {
3030 self . experiment = Experiment :: run_by ( db, & Assignee :: Agent ( self . name . clone ( ) ) ) ?;
31- eprintln ! (
32- "{} has experiment {:?}" ,
33- self . name,
34- self . experiment. as_ref( ) . map( |e| & e. name)
35- ) ;
3631 Ok ( self )
3732 }
3833
@@ -287,8 +282,6 @@ mod tests {
287282
288283 // After an experiment is assigned to the agent, the agent is working
289284 let agent = agents. get ( "agent" ) . unwrap ( ) . unwrap ( ) ;
290- dbg ! ( agent. status( ) ) ;
291- std:: thread:: sleep ( std:: time:: Duration :: from_secs ( 100000 ) ) ;
292285 assert_eq ! ( agent. status( ) , AgentStatus :: Working ) ;
293286 }
294287
You can’t perform that action at this time.
0 commit comments