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 {
58
58
#[ cfg( test) ]
59
59
pub fn temp ( ) -> Fallible < Self > {
60
60
let tempfile = NamedTempFile :: new ( ) ?;
61
- dbg ! ( & tempfile. path( ) ) ;
62
61
Database :: new (
63
62
SqliteConnectionManager :: file ( tempfile. path ( ) ) ,
64
63
Some ( tempfile) ,
Original file line number Diff line number Diff line change @@ -28,11 +28,6 @@ pub struct Agent {
28
28
impl Agent {
29
29
fn with_experiment ( mut self , db : & Database ) -> Fallible < Self > {
30
30
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
- ) ;
36
31
Ok ( self )
37
32
}
38
33
@@ -287,8 +282,6 @@ mod tests {
287
282
288
283
// After an experiment is assigned to the agent, the agent is working
289
284
let agent = agents. get ( "agent" ) . unwrap ( ) . unwrap ( ) ;
290
- dbg ! ( agent. status( ) ) ;
291
- std:: thread:: sleep ( std:: time:: Duration :: from_secs ( 100000 ) ) ;
292
285
assert_eq ! ( agent. status( ) , AgentStatus :: Working ) ;
293
286
}
294
287
You can’t perform that action at this time.
0 commit comments