Jai Bhagat
3350f3fb11
ui: apply new qunit linting rules to tests
...
Async tests should use in integrations tests.
Acceptance tests are using Mirage and can't use
since we can't know the number of assertions.
2022-01-20 10:01:35 -05:00
Jai Bhagat
3a9057a89c
ui: prettify js files
2022-01-20 09:54:56 -05:00
Jai Bhagat
c4bc5ab352
ui: fix auto-fixable linting errors
2022-01-20 09:46:45 -05:00
Buck Doyle
4e4a83039f
ui: Fix bug where switching topo viz allocation highlights doesn’t update charts ( #10490 )
...
This closes #10489 . It adds `dependentKeyCompat` to the allocation getter so it works
as expected as a dependent key for the `tracker` computed property, as described here:
https://guides.emberjs.com/release/upgrading/current-edition/tracked-properties/#toc_backwards-compatibility
2021-05-03 10:36:18 -05:00
Michael Lange
b6af7a31e2
Aggregate the BANs in the cluster details panel
2021-03-31 09:29:14 -07:00
Michael Lange
a0e59f81ab
Use common helpers and utils for formatting hertz
2021-03-31 09:29:14 -07:00
Michael Lange
bf6fb48ca6
Format all bytes using helpers, even the ones that are already MiBs
2021-03-31 09:29:02 -07:00
Buck Doyle
975ea6d5d1
Merge branch 'master' into b-ui/topo-viz-accounting
2021-01-28 09:56:46 -06:00
Michael Lange
9395f16da6
Test coverage for the topology info panel.
...
This fixes a couple bugs
1. Overreporting resources reserved due to counting terminal allocs
2. Overreporting unique client placements due to uniquing on object refs
instead of on client ID.
2021-01-25 19:01:11 -08:00
Michael Lange
6d985f05bb
When the topo viz filters out nodes, report this to the user via warning alert
2021-01-05 17:11:17 -08:00
Buck Doyle
ab4b04e940
Add handling for empty state flaky test edge case ( #9234 )
...
This test occasionally fails because the random generation
sometimes produces a node with no allocations, such as here:
https://app.circleci.com/pipelines/github/hashicorp/nomad/12735/workflows/9a407f87-0383-48ee-8e41-7e6e351dce28/jobs/113130/steps
This is a temporary measure to solve it without trying to force the
generated data to always have an allocation.
2020-10-30 15:57:09 -05:00
Michael Lange
628fef86a5
Add namespace and task states query params to the topo viz route
2020-10-29 11:28:41 -07:00
Michael Lange
97510a8397
Some light topology acceptance tests
2020-10-15 03:06:51 -07:00