Skip to content

Commit

Permalink
fixup! Add coverage for improved countme system age
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnks committed Jun 6, 2024
1 parent 66f6f47 commit 6902047
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dnf-behave-tests/dnf/countme.feature
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Feature: Better user counting

@destructive
Scenario Outline: Countme flag is sent once per calendar week
Given the machine-id file is <status> as of <epoch>
Given the machine-id file is <machine-id> as of <epoch>
And I set config option "countme" to "1"
And I set releasever to "39"
And I copy repository "dnf-ci-fedora" for modification
Expand Down Expand Up @@ -109,13 +109,13 @@ Feature: Better user counting
| */metalink.xml*&countme=<age#6> |

Examples:
| status | epoch | date | age#1 | age#2 | age#3 | age#4 | age#5 | age#6 |
# Absolute age counting (since the epoch)
| machine-id | epoch | date | age#1 | age#2 | age#3 | age#4 | age#5 | age#6 |
# Absolute age counting (since "epoch")
| initialized | Aug 06, 2019 | Aug 07, 2019 | 1 | 1 | 2 | 3 | 4 | 4 |
| initialized | Aug 06, 2019 | Aug 20, 2019 | 2 | 2 | 2 | 3 | 4 | 4 |
| initialized | Aug 06, 2019 | Sep 12, 2019 | 3 | 3 | 3 | 3 | 4 | 4 |
| initialized | Aug 06, 2019 | Jun 18, 2020 | 4 | 4 | 4 | 4 | 4 | 4 |
# Relative age counting (since the first request)
# Relative age counting (since "date")
| uninitialized | Aug 06, 2019 | Jun 18, 2020 | 1 | 1 | 2 | 3 | 4 | 1 |
| empty | --- | Jun 18, 2020 | 1 | 1 | 2 | 3 | 4 | 1 |
| absent | --- | Jun 18, 2020 | 1 | 1 | 2 | 3 | 4 | 1 |
Expand Down

0 comments on commit 6902047

Please sign in to comment.