Skip to content

Commit d99ee66

Browse files
Revert debugging
1 parent f193cf0 commit d99ee66

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/db/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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),

src/server/agents.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ pub struct Agent {
2828
impl 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

0 commit comments

Comments
 (0)