Skip to content

Smoke tests - #15

Merged
anavarr merged 6 commits into
smallrye:mainfrom
anavarr:smoke_tests
Aug 12, 2026
Merged

Smoke tests#15
anavarr merged 6 commits into
smallrye:mainfrom
anavarr:smoke_tests

Conversation

@anavarr

@anavarr anavarr commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator
  1. we check that the produced jar contains the the right .so files
  2. we spin a minimal vertx server and client and check that their handshake works using openssl

also replaced actions tags with commits hash

@anavarr
anavarr requested a review from jponge August 11, 2026 15:47
1. we check that the produced jar contains the the right .so files
2. we spin a minimal vertx server and client and check that their handshake works using openssl
- replace actions tags with commits hash
- smoke tests now run in containers using container setup instead of manually executing docker command in 'run'

/**
* Starts a Vert.x HTTPS server and client, both using our native OpenSSL library.
* With OpenSSL 3.5+ and TLS 1.3, the default key exchange is x25519mlkem768 (post-quantum).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have an explicit setting instead of assuming defaults? (which may change)

Comment thread smoke-test/pom.xml Outdated
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.11.0</version>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd move all versions to Maven properties, it's easier to handle, even if dependabot is going to manage them fine.

… and its new APIs. Also don't rely on default named groups but specify that we want to use x25519mlkem768
@anavarr
anavarr requested a review from jponge August 12, 2026 12:19
.setKeyCertOptions(cert.keyCertOptions())
.setOpenSslEngineOptions(new OpenSSLEngineOptions())
.setEnabledSecureTransportProtocols(Set.of("TLSv1.3"));
System.out.println("OpenSSL available: " + OpenSSLEngineOptions.isAvailable());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should make an assertion on it, not just print it

@anavarr
anavarr merged commit 7d875e9 into smallrye:main Aug 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants