You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2021/07/01 04:28:39 UTC

[apisix] branch master updated: test: make fuzzing-ci pass again (#4510)

This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 047f5e7  test: make fuzzing-ci pass again (#4510)
047f5e7 is described below

commit 047f5e7d503ea62eba28bae7386efb3e6d5b8268
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Thu Jul 1 12:28:31 2021 +0800

    test: make fuzzing-ci pass again (#4510)
---
 .github/workflows/fuzzing-ci.yaml | 2 +-
 .gitignore                        | 1 +
 t/fuzzing/requirements.txt        | 3 +++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/fuzzing-ci.yaml b/.github/workflows/fuzzing-ci.yaml
index de15b7b..7b4bf53 100644
--- a/.github/workflows/fuzzing-ci.yaml
+++ b/.github/workflows/fuzzing-ci.yaml
@@ -65,7 +65,7 @@ jobs:
 
     - name: install boofuzz
       run: |
-        pip install typing boofuzz
+        pip install -r $PWD/t/fuzzing/requirements.txt
 
     - name: run simpleroute test
       run: |
diff --git a/.gitignore b/.gitignore
index 92d7722..1dea8b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -71,6 +71,7 @@ ci/openwhisk-utilities/
 !/conf/config-default.yaml
 /conf/debug-*.yaml
 /build-cache/
+t/fuzzing/__pycache__/
 # release tar package
 *.tgz
 release/*
diff --git a/t/fuzzing/requirements.txt b/t/fuzzing/requirements.txt
new file mode 100644
index 0000000..9113b81
--- /dev/null
+++ b/t/fuzzing/requirements.txt
@@ -0,0 +1,3 @@
+typing==3.7.4.3
+# boofuzz 0.4.0 only supports Python 3.6+
+boofuzz==0.3.0