summaryrefslogtreecommitdiffstats
path: root/src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connecti...
diff options
context:
space:
mode:
authorKrithic Kumar <30691152+notjedi@users.noreply.github.com>2024-03-18 10:59:47 +0530
committerGitHub <noreply@github.com>2024-03-18 13:29:47 +0800
commit1997bce393313d7ba685ee127d743e3a310530ac (patch)
treebf5190061ccba2e3ff8f703c39448b585f175ee0 /src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connection.snap
parentf892d2f758ea342ddbdb5d64eaed6e63fa8d1ddd (diff)
feat: add `PID` column to `Process` table (#379)
* feat: add `PID` column to `Process` table * fix(tests): populate fake data with the correct `ProcessInfo` type * test: update snapshots * refactor: use more idiomatic rust * refactor: rename function from `get_proc_name` to `get_proc_info` * refactor: only display PID when width available is highest ref: https://github.com/imsnif/bandwhich/pull/165#issuecomment-620852892 * tests: update snapshots * chore: update CHANGELOG * fix: clippy warnings * Revert "fix: clippy warnings" This reverts commit e5f06cba1943d60b43a19957c42e3178c6916f69. We will do this separately for the sake of keeping a clean history * refactor: use `u32` for PID * refactor: more idiomatic rust --------- Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
Diffstat (limited to 'src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connection.snap')
-rw-r--r--src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connection.snap29
1 files changed, 3 insertions, 26 deletions
diff --git a/src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connection.snap b/src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connection.snap
index 0b1b04a..63f8fd7 100644
--- a/src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connection.snap
+++ b/src/tests/cases/snapshots/bandwhich__tests__cases__ui__multiple_packets_of_traffic_from_single_connection.snap
@@ -4,7 +4,7 @@ expression: terminal_draw_events.lock().unwrap().join(SNAPSHOT_SECTION_SEPARATOR
---
IF: interface_name | Total Rate (Up / Down): 0.00B / 0.00B
┌Utilization by process name──────────────────────────────────────────────────────────────────┐┌Utilization by remote address────────────────────────────────────────────────────────────────┐
-│Process Connections Rate (Up / Down) ││Remote Address Connections Rate (Up / Down) │
+│Process PID Connections Rate (Up / Down) ││Remote Address Connections Rate (Up / Down) │
│ ││ │
│ ││ │
│ ││ │
@@ -57,7 +57,7 @@ IF: interface_name | Total Rate (Up / Down): 0.00B / 0.00B
45. 0B
- 1 1 0.00B / 45.00B 1.1.1.1 1 0.00B / 45.00B
+ 1 1 1 0.00B / 45.00B 1.1.1.1 1 0.00B / 45.00B
@@ -81,27 +81,4 @@ IF: interface_name | Total Rate (Up / Down): 0.00B / 0.00B
- <interface_name>:443 => 1.1.1.1:12345 (tcp) 1 0.00B / 45.00B
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ <interface_name>:443 => 1.1.1.1:12345 (tcp) 1 0.00B / 45.00B