Skip to content

Commit 63259d2

Browse files
committed
Extend timeout of api_tests in the CICD task to 10 minutes (#4350)
* changes. * fix.
1 parent 6e1d609 commit 63259d2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/run_driver_tests.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ function Invoke-CICDTests
325325
# That causes the regression test to fail. So, we are skipping this test for now.
326326

327327
$TestList = @(
328-
(New-TestTuple -Test "api_test.exe" -Arguments "~`"load_native_program_invalid4`""),
328+
(New-TestTuple -Test "api_test.exe" -Arguments "~`"load_native_program_invalid4`"" -Timeout 600),
329329
(New-TestTuple -Test "bpftool_tests.exe"),
330330
(New-TestTuple -Test "sample_ext_app.exe"),
331331
(New-TestTuple -Test "socket_tests.exe" -Timeout 1800)

tests/end_to_end/helpers.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,9 +1059,10 @@ _ebpf_sock_ops_context_create(
10591059

10601060
*context = sock_ops_context;
10611061
sock_ops_context = nullptr;
1062+
sock_ops_context_header = nullptr;
10621063
retval = EBPF_SUCCESS;
10631064
Done:
1064-
ebpf_free(sock_ops_context);
1065+
ebpf_free(sock_ops_context_header);
10651066
sock_ops_context = nullptr;
10661067
return retval;
10671068
}

0 commit comments

Comments
 (0)