carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build linux && rootrunner
2
3package host
4
5import (
6 "path/filepath"
7 "testing"
8
9 "github.com/carlosframework/platform/internal/rootstate"
10)
11
12func TestPlan14TimerIntentionRootRunner(t *testing.T) {
13 plan14TimerIntention(t, func(t *testing.T) rootstate.Store {
14 state, err := rootstate.Open(filepath.Join(generationRootRunnerDir(t), "authority"), true, false)
15 if err != nil {
16 t.Fatal(err)
17 }
18 return state
19 })
20}
21
22func TestPlan14TimerRetirementRootRunner(t *testing.T) {
23 generationRootRunnerDir(t)
24 TestPlan14GenerationTimerRetirement(t)
25}
26