Skip to content
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

GraalVM support with testing #749

Closed
wants to merge 36 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3496298
Added compatibiltiy
maschnetwork Mar 13, 2023
4500fb5
Added compatibiltiy
maschnetwork Mar 13, 2023
7a41775
Maven setup for native image testing
maschnetwork Jan 9, 2024
ed7aac5
Working Junit Tests
maschnetwork Jan 10, 2024
76c9ed4
Working version with reduced dependencies and profile
maschnetwork Jan 11, 2024
d51a3bf
Fully working example
maschnetwork Jan 15, 2024
4d4bbef
GraalVM Support incl. testing
maschnetwork Jan 16, 2024
bd5ed86
Removed JUnit reflection configuration, move vintage out of profile
maschnetwork Jan 22, 2024
a310d4d
feat: added new configuration files
maschnetwork May 7, 2024
29b6a79
try to run a CI for graalVM
TingDaoK May 20, 2024
d091ef5
only enable graalvm
TingDaoK May 20, 2024
95adfa0
retry
TingDaoK May 20, 2024
51f9e0a
maybe try not import jdk8?
TingDaoK May 20, 2024
2a972c4
farewell builder
TingDaoK May 20, 2024
c334564
17?
TingDaoK May 20, 2024
8943f0b
double matrix
TingDaoK May 20, 2024
dd59763
no fail-fast
TingDaoK May 20, 2024
87b4be7
seems like 8 and 11 are not available
TingDaoK May 20, 2024
3930c68
eh
TingDaoK May 20, 2024
ff1f2e8
remove unneeded change
TingDaoK May 20, 2024
bc196ff
add one more
TingDaoK May 24, 2024
3b843dd
fix resume token class cache
TingDaoK May 24, 2024
34db048
Merge branch 'fix-pause-resume' into graalvm-support
TingDaoK May 24, 2024
f433f5f
windows naming is a bit different
TingDaoK May 24, 2024
ae14cd3
try to use builder for the mqtt tests
TingDaoK May 24, 2024
6876e7d
it is called variant,,,
TingDaoK May 24, 2024
e48e28e
it's dict not list
TingDaoK May 24, 2024
e7be1dd
try this?
TingDaoK May 24, 2024
55338a7
hmmmmm
TingDaoK May 24, 2024
afaefc4
setup the env var from builder as well
TingDaoK May 24, 2024
54aece7
10secs is too fast..
TingDaoK May 24, 2024
57a9336
no need to run those other tests again for GraalVM
TingDaoK May 24, 2024
2f81a01
Updated GraalVM plugin versions and adapted to default for strict sta…
maschnetwork May 27, 2024
094af5e
Example for registration via feature
maschnetwork Jun 1, 2024
8e2c185
Revert "Example for registration via feature"
maschnetwork Jun 5, 2024
28fa5d4
Removed build execution
maschnetwork Jun 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions .builder/actions/aws_crt_java_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ def _run_java_tests(self, *extra_args):
os.remove('log.txt')

profiles = 'continuous-integration'
if os.getenv("GRAAL_VM") is not None:
profiles = 'graalvm-native'

cmd_args = [
"mvn", "-B",
Expand Down Expand Up @@ -40,18 +42,20 @@ def start_maven_tests(self, env):

self._run_java_tests("-DrerunFailingTestsCount=5")

# run the ShutdownTest by itself
env.shell.setenv('AWS_CRT_SHUTDOWN_TESTING', '1')
self._run_java_tests("-Dtest=ShutdownTest")

# run the InitTest by itself. This creates an environment where the test itself is the one that
# causes the CRT to be loaded and initialized.
self._run_java_tests("-Dtest=InitTest")
if os.getenv("GRAAL_VM") is None:
# run the ShutdownTest by itself
env.shell.setenv('AWS_CRT_SHUTDOWN_TESTING', '1')
self._run_java_tests("-Dtest=ShutdownTest")

# run the elasticurl integration tests
python = sys.executable
env.shell.exec(python, 'crt/aws-c-http/integration-testing/http_client_test.py',
python, 'integration-testing/java_elasticurl_runner.py', check=True)
# run the InitTest by itself. This creates an environment where the test itself is the one that
# causes the CRT to be loaded and initialized.
self._run_java_tests("-Dtest=InitTest")

# run the elasticurl integration tests
python = sys.executable
env.shell.exec(python, 'crt/aws-c-http/integration-testing/http_client_test.py',
python, 'integration-testing/java_elasticurl_runner.py', check=True)

def run(self, env):
self.env = env
Expand Down
Loading