Просмотр исходного кода

bin/taud: fix test && update config file

ghassmo 4 лет назад
Родитель
Сommit
1b1d0b2828
2 измененных файлов с 1 добавлено и 7 удалено
  1. 0 6
      bin/tau/taud/src/month_tasks.rs
  2. 1 1
      bin/tau/taud_config.toml

+ 0 - 6
bin/tau/taud/src/month_tasks.rs

@@ -159,12 +159,6 @@ mod tests {
 
         let mt_load = MonthTasks::load_or_create(&get_current_time(), &dataset_path)?;
 
-        assert!(!mt_load.task_tks.contains(&task.ref_id));
-
-        task.activate()?;
-
-        let mt_load = MonthTasks::load_or_create(&get_current_time(), &dataset_path)?;
-
         assert!(mt_load.task_tks.contains(&task.ref_id));
 
         remove_dir_all(TEST_DATA_PATH).ok();

+ 1 - 1
bin/tau/taud_config.toml

@@ -21,7 +21,7 @@ password = "FOOBAR"
 ## P2P network
 ## 
 ### The accept address 
-#[accept]
+#[accept_address]
 #url="127.0.0.1:8822"
 #password = "FOOBAR"