forked from mtusi2026/mtusi2026lab7
14 lines
316 B
Go
14 lines
316 B
Go
package bootstrap
|
|
|
|
import (
|
|
"io"
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestApplyReconciliationRequiresPositiveGracePeriod(t *testing.T) {
|
|
err := RunReconciliation([]string{"--apply", "--grace-period=0"}, io.Discard)
|
|
require.EqualError(t, err, "grace-period must be positive in apply mode")
|
|
}
|