Skip to content

Commit

Permalink
Tests: Removed unnecessary .* expression from test.
Browse files Browse the repository at this point in the history
This caused the matching to take a very long time.
  • Loading branch information
levy committed Oct 11, 2023
1 parent f69ee1a commit 89dd3b7
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 26 deletions.
4 changes: 0 additions & 4 deletions tests/module/tcpapp_lifecycle_1.test
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.client starting up
.*
Test.client started
Expand All @@ -91,8 +89,6 @@ Test.server starting up
Test.server started
.*
Test.client.app\[0\]: received 0 bytes in 0 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
%not-contains: test_undisposed.out
Expand Down
4 changes: 0 additions & 4 deletions tests/module/tcpapp_lifecycle_2.test
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.server starting up
.*
Test.server started
Expand All @@ -91,8 +89,6 @@ Test.client starting up
Test.client started
.*
Test.client.app\[0\]: received 1000 bytes in 10 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
%not-contains: test_undisposed.out
Expand Down
3 changes: 0 additions & 3 deletions tests/module/tcpapp_lifecycle_3.test
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.client starting up
.*
Test.client started
Expand All @@ -92,7 +90,6 @@ Test.server shutting down
Test.server shut down
.*
Test.client.app\[0\]: received 1000 bytes in 10 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
Expand Down
3 changes: 0 additions & 3 deletions tests/module/tcpapp_lifecycle_4.test
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.server shutting down
.*
Test.server shut down
Expand All @@ -92,7 +90,6 @@ Test.client starting up
Test.client started
.*
Test.client.app\[0\]: received 0 bytes in 0 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
Expand Down
3 changes: 0 additions & 3 deletions tests/module/tcpapp_lifecycle_5.test
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.client shutting down
.*
Test.client shut down
Expand All @@ -92,7 +90,6 @@ Test.server starting up
Test.server started
.*
Test.client.app\[0\]: received 0 bytes in 0 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
Expand Down
3 changes: 0 additions & 3 deletions tests/module/tcpapp_lifecycle_6.test
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.server starting up
.*
Test.server started
Expand All @@ -92,7 +90,6 @@ Test.client shutting down
Test.client shut down
.*
Test.client.app\[0\]: received 0 bytes in 0 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
Expand Down
3 changes: 0 additions & 3 deletions tests/module/tcpapp_lifecycle_7.test
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.client shutting down
.*
Test.client shut down
Expand All @@ -91,7 +89,6 @@ Test.server shutting down
Test.server shut down
.*
Test.client.app\[0\]: received 1000 bytes in 10 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
Expand Down
3 changes: 0 additions & 3 deletions tests/module/tcpapp_lifecycle_8.test
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ network Test
</scenario>

%contains-regex: stdout

.*
Test.server shutting down
.*
Test.server shut down
Expand All @@ -91,7 +89,6 @@ Test.client shutting down
Test.client shut down
.*
Test.client.app\[0\]: received 1000 bytes in 10 packets
.*

%#--------------------------------------------------------------------------------------------------------------
%postrun-command: grep "undisposed object:" test.out > test_undisposed.out || true
Expand Down

0 comments on commit 89dd3b7

Please sign in to comment.