Skip to content

Commit 34d8783

Browse files
test: add additional pf not ready keywords
1 parent 27ba6be commit 34d8783

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests/APIModelsFirewallRuleTestCase.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class APIModelsFirewallRuleTestCase extends TestCase {
1919
*/
2020
public function read_pfctl_rules(): Command {
2121
# Keywords that indicate pf is not ready yet
22-
$not_ready_keywords = ['pfctl: DIOCGETRULE: Device busy'];
22+
$not_ready_keywords = ['pfctl: DIOCGETRULE: Device busy', 'pfctl: DIOCGETRULENV: Device busy'];
2323

2424
# Check the pf ruleset until it appears to be fully loaded, or until we've tried 5 times
2525
$attempt = 0;

0 commit comments

Comments
 (0)