Skip to content

[loadgen] Loadgen unit tests with TLS modes#145

Merged
liran-funaro merged 1 commit into
hyperledger:mainfrom
dean-amar:loadgen-tls-unit-test
Oct 16, 2025
Merged

[loadgen] Loadgen unit tests with TLS modes#145
liran-funaro merged 1 commit into
hyperledger:mainfrom
dean-amar:loadgen-tls-unit-test

Conversation

@dean-amar

Copy link
Copy Markdown
Contributor

Type of change

  • Test update

Description

  • Loadgen unit testing with different TLS modes.

Related issues

@dean-amar dean-amar changed the title [loadgen] Loadgen tls unit test [loadgen] Loadgen unit tests with different TLS modes Sep 25, 2025
@dean-amar dean-amar changed the title [loadgen] Loadgen unit tests with different TLS modes [loadgen] Loadgen unit tests with TLS modes Sep 25, 2025
@dean-amar dean-amar linked an issue Sep 25, 2025 that may be closed by this pull request
@dean-amar dean-amar marked this pull request as ready for review September 25, 2025 12:36
Comment thread loadgen/client_test.go Outdated
Comment on lines +62 to +64
clientConf.Adapter.VerifierClient = startVerifiers(t,
test.InsecureTLSConfig, test.InsecureTLSConfig,
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why isn't it using the tested TLS mode?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actually, we can. Although this test is intended to verify the connection to the Loadgen service.

Fixed.

@liran-funaro liran-funaro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Just a minor comment.

Comment thread loadgen/client_test.go Outdated
… each component

Signed-off-by: Dean Amar <Dean.Amar@ibm.com>
@dean-amar dean-amar force-pushed the loadgen-tls-unit-test branch from 36bf380 to e5e7043 Compare October 16, 2025 11:09
@liran-funaro liran-funaro merged commit 1c2b892 into hyperledger:main Oct 16, 2025
12 checks passed
@dean-amar dean-amar deleted the loadgen-tls-unit-test branch March 17, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[loadgen] loadgen unit testing with TLS for each component

2 participants