e2e test increasing file limit
This commit is contained in:
parent
65feec3406
commit
c4888d5123
2 changed files with 8 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ use tokio::{
|
|||
spawn,
|
||||
time::{interval, timeout},
|
||||
};
|
||||
use tracing::{error_span, info, Instrument};
|
||||
use tracing::{error, error_span, info, Instrument};
|
||||
|
||||
use crate::{
|
||||
create_torrent,
|
||||
|
|
@ -35,6 +35,10 @@ async fn test_e2e_download() {
|
|||
|
||||
async fn _test_e2e_download() {
|
||||
let _ = tracing_subscriber::fmt::try_init();
|
||||
match crate::try_increase_nofile_limit() {
|
||||
Ok(limit) => info!(limit, "increased ulimit"),
|
||||
Err(e) => error!(error=?e, "error increasing ulimit"),
|
||||
};
|
||||
|
||||
spawn_debug_server();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue