-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding shenyu-common into the openctest framework #14
Open
KobeNorris
wants to merge
21
commits into
xlab-uiuc:main
Choose a base branch
from
KobeNorris:shenyu
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KobeNorris
changed the title
Adding Shen Yu into the openctest framework
Adding shenyu-common into the openctest framework
Dec 7, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details
In order to make
openctest
applicable to projectShen Yu
, I did the following changes to the framework.shenyu-common-default.tsv
: Default conf param value for Shen Yu common project.sample-shenyu-common.tsv
: Replace the originalhadoop common
CTest input.opensource-shenyu-common.json
: The new ctest mapping file.conf_params.txt
: Conf param list for param identification.test_method_list.json
: Test method list for param identification.interception.patch
: Patch file for interception function.logging.patch
: Patch file for logging function.ctests-shenyu-common.json
: The resulting mapping file.add_project.sh
: Add script function to set up theShen Yu
project.ctest_const.py
: Update CTest Constant to support theShen Yu
project.program_input.py
: Updateprogram_input.py
file for theShen Yu
project.value_generation.py
: Update value_generation.py file for the ShenYu Common project.identify_param.sh
: Update theopenctest
framework to generate the mapping.runner.py
: Theself.setInTest
is always false, and it does not work withhadoop common
project as well, so I commented it out.main.py
: Themapping[param]
with always crash the entire code ifparam
could not be found in theopensource-shenyu-common.json
file, so I addparam in mapping.keys() and
before to avoid crashing.