mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-07 17:19:57 +00:00
18 lines
389 B
Go
18 lines
389 B
Go
package api
|
|
|
|
import (
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestReconcileInterval(t *testing.T) {
|
|
if reconcileInterval != 6*time.Hour {
|
|
t.Errorf("expected reconcileInterval=6h, got %v", reconcileInterval)
|
|
}
|
|
}
|
|
|
|
func TestStaleSubscriptionStateWindow(t *testing.T) {
|
|
if staleSubscriptionState != 48*time.Hour {
|
|
t.Errorf("expected staleSubscriptionState=48h, got %v", staleSubscriptionState)
|
|
}
|
|
}
|