Prepare verified laboratory 6 implementation and evidence

This commit is contained in:
rey
2026-11-17 17:32:06 +03:00
parent 470d9d6f1e
commit 7d56e52fd0
335 changed files with 31206 additions and 72 deletions
+4
View File
@@ -0,0 +1,4 @@
import{test,expect}from'bun:test';import{validateGrafanaRuleIntervals}from'../scripts/lib/grafana-scheduler';
test('rejects actual provisioning failure1s under native13.3.1 scheduler10s',()=>{expect(()=>validateGrafanaRuleIntervals([{interval:'1s'}],10)).toThrow();});
test('rejects zero and nonmultiple intervals before native startup',()=>{for(const interval of['0s','15s','unknown'])expect(()=>validateGrafanaRuleIntervals([{interval}],10)).toThrow();});
test('accepts native10s and its20s multiple',()=>{expect(()=>validateGrafanaRuleIntervals([{interval:'10s'},{interval:'20s'}],10)).not.toThrow();});