From: Yonghong Song Date: Thu, 18 Nov 2021 00:57:20 +0000 (-0800) Subject: Mark test_call1.py mayFail X-Git-Tag: v0.24.0~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adf3a7970ce8ff66bf97d4841d2c178bfce541be;p=platform%2Fupstream%2Fbcc.git Mark test_call1.py mayFail The test send a udp packet to test tailcalls. The test may fail due to udp packet loss. Let us mark the test as mayFail. Signed-off-by: Yonghong Song --- diff --git a/tests/python/test_call1.py b/tests/python/test_call1.py index 68d68de5..6766cab3 100755 --- a/tests/python/test_call1.py +++ b/tests/python/test_call1.py @@ -10,6 +10,7 @@ from socket import socket, AF_INET, SOCK_DGRAM import sys from time import sleep from unittest import main, TestCase +from utils import mayFail arg1 = sys.argv.pop(1) @@ -36,6 +37,7 @@ class TestBPFSocket(TestCase): self.jump[c_int(S_EOP)] = c_int(eop_fn.fd) self.stats = b.get_table("stats", c_int, c_ulonglong) + @mayFail("This may fail on github actions environment due to udp packet loss") def test_jumps(self): udp = socket(AF_INET, SOCK_DGRAM) udp.sendto(b"a" * 10, ("172.16.1.1", 5000))