mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 03:55:13 +08:00
🎉 Sync 2026-09-27 21:03:26
This commit is contained in:
1 parent
f4559bbed1
commit
065763f7fd
673 files changed
+261285
-34160
No files matched your search
Executable
+31
@@ -0,0 +1,31 @@
|
||||
# shellcheck shell=sh
|
||||
|
||||
Describe 'SafeShield lifecycle and refresh state machines'
|
||||
It 'rolls back full refresh failures while preserving the active blocklist for upgrade-required responses'
|
||||
When call ss_case_refresh_state_machine
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'applies cached local rules idempotently and rolls back failed fast applies'
|
||||
When call ss_case_local_apply_state_machine
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'serializes full refresh and local apply workers with a termination-aware lock'
|
||||
When call ss_case_refresh_locking
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
|
||||
It 'starts and stops SafeShield safely across disabled, statistics, and migration paths'
|
||||
When call ss_case_service_lifecycle
|
||||
The status should be success
|
||||
The output should equal ''
|
||||
The error should equal ''
|
||||
End
|
||||
End
|
||||
Reference in new issue
Block a user