forked from mtusi2026/mtusi2026lab6
14 lines
999 B
Markdown
14 lines
999 B
Markdown
# Full Grafana startup
|
|
|
|
| Case | Expected behavior |
|
|
|---|---|
|
|
| First owner credential | Encrypt and verify archive before publishing the runtime file |
|
|
| Archive failure | No runtime credential published; startup fails closed |
|
|
| Existing owner credential | Preserve password and verify encrypted archive; no rotation |
|
|
| Cached image/plugin mismatch or incompatible scheduler group | Abort before starting Grafana |
|
|
| HTTP200 dashboard/rules metadata empty or mismatched | Reject missing/duplicate/wrong configured dashboard panel IDs/titles or rule UIDs |
|
|
| Fresh volumes with current source | Own core, three signals, datasources, dashboard and native rules start successfully |
|
|
| Native cold SQLite initialization exceeds120s with continuing successful migrations | Bounded600s startup convergence; retain previous deadline FAIL and verify a new empty-volume run |
|
|
|
|
The credential factory is tested with mandatory explicit ports; no test invokes the production entrypoint with fake arguments.
|