Skip to content

Commit 1972124

Browse files
test: give pf tables time to populate entries
1 parent 77a3de5 commit 1972124

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ class APIModelsTableTestCase extends TestCase {
5656
public function test_delete(): void {
5757
# Create a new pf table to test with
5858
new Command('/sbin/pfctl -t pfrest_test_table -T add 1.2.3.4 4.3.2.1');
59+
sleep(1);
5960

6061
# Load the Table model
6162
$table = new Table(id: 'pfrest_test_table');

0 commit comments

Comments
 (0)