Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: reduce extra-long lines #136

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions crates/scion/src/pan/path_strategy/async_strategy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ where
};

tracing::debug!(
callback_time=?callback_time.duration_since(start), "waiting for paths or callback timeout"
callback_time=?callback_time.duration_since(start),
"waiting for paths or callback timeout"
);

// Wait for the callback duration, or until a pending path query completes. If there
Expand Down Expand Up @@ -407,7 +408,8 @@ mod tests {
) -> Result<Option<&'a Path>, PathFetchError>;
fn poll_requests(&mut self, now: Instant) -> Request;
fn handle_lookup_paths(&mut self, paths: &[Path], now: Instant);
fn is_path_available(&self, destination: IsdAsn, now: Instant) -> Result<bool, PathFetchError>;
fn is_path_available(&self, destination: IsdAsn, now: Instant)
-> Result<bool, PathFetchError>;
}
}

Expand Down
3 changes: 2 additions & 1 deletion multipass/test_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export SCION_DISPATCHER_PATH=/tmp/dispatcher.sock
export SCION_DAEMON_ADDRESS="[$VM_ADDRESS]:30255"

rm -f $SCION_DISPATCHER_PATH
ssh -i multipass/test_id_ed25519 ubuntu@$VM_ADDRESS -fN -L $SCION_DISPATCHER_PATH:/run/shm/dispatcher/default.sock
ssh -i multipass/test_id_ed25519 ubuntu@$VM_ADDRESS -fN -L \
$SCION_DISPATCHER_PATH:/run/shm/dispatcher/default.sock
Loading