Skip to content

Commit

Permalink
t: edit expected output to account for new column
Browse files Browse the repository at this point in the history
Problem: There are a number of tests that check the output of the
view-bank commands that are now out-of-date because of the addition of
the max-preempt-after column.

Edit the expected output for a number of files in the flux-accounting
testsuite to account for the addition of the max-preempt-after column.
  • Loading branch information
cmoussa1 committed Dec 19, 2024
1 parent d78c69d commit 22424a7
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions t/expected/flux_account/A_bank.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
2 A 1 root 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
2 A 1 root 1 0.0 None

Users Under Bank A:

Expand Down
4 changes: 2 additions & 2 deletions t/expected/flux_account/D_bank.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
5 D 1 root 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
5 D 1 root 1 0.0 None

Bank Username RawShares RawUsage Fairshare
D 1 0.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/flux_account/E_bank.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
6 E 1 D 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
6 E 1 D 1 0.0 None

Bank Username RawShares RawUsage Fairshare
E 1 0.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/flux_account/F_bank_tree.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
7 F 1 D 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
7 F 1 D 1 0.0 None

Bank Username RawShares RawUsage Fairshare
F 1 0.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/flux_account/F_bank_users.expected
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bank_id bank active parent_bank shares job_usage
7 F 1 D 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
7 F 1 D 1 0.0 None

no users under F
4 changes: 2 additions & 2 deletions t/expected/flux_account/deleted_bank.expected
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bank_id bank active parent_bank shares
4 C 0 root 50
bank_id bank active parent_bank shares job_usage max_preempt_after
4 C 0 root 50 0.0 None

4 changes: 2 additions & 2 deletions t/expected/flux_account/full_hierarchy.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1 0.0 None

Bank Username RawShares RawUsage Fairshare
root 1 0.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/flux_account/root_bank.expected
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1 0.0 None

4 changes: 2 additions & 2 deletions t/expected/pop_db/db_hierarchy_base.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1 0.0 None

Bank Username RawShares RawUsage Fairshare
root 1 0.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/pop_db/db_hierarchy_new_users.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1 0.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1 0.0 None

Bank Username RawShares RawUsage Fairshare
root 1 0.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/print_hierarchy/small_no_tie.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1000 133.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1000 133.0 None

Bank Username RawShares RawUsage Fairshare
root 1000 133.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/print_hierarchy/small_tie.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1000 133.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1000 133.0 None

Bank Username RawShares RawUsage Fairshare
root 1000 133.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/print_hierarchy/small_tie_all.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1000 1332.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1000 1332.0 None

Bank Username RawShares RawUsage Fairshare
root 1000 1332.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/update_fshare/post_fshare_update.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1000 180.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1000 180.0 None

Bank Username RawShares RawUsage Fairshare
root 1000 180.0
Expand Down
4 changes: 2 additions & 2 deletions t/expected/update_fshare/pre_fshare_update.expected
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bank_id bank active parent_bank shares job_usage
1 root 1 1000 133.0
bank_id bank active parent_bank shares job_usage max_preempt_after
1 root 1 1000 133.0 None

Bank Username RawShares RawUsage Fairshare
root 1000 133.0
Expand Down

0 comments on commit 22424a7

Please sign in to comment.