Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
- Introduced a sample BOM index JSON file for impact index testing. - Created unit tests for the impact index fixture to ensure proper loading of sample images. - Implemented the FilesystemPackRunArtifactUploader class to handle artifact uploads to the local filesystem. - Added comprehensive tests for the FilesystemPackRunArtifactUploader, covering file copying, missing files, and expression outputs.
27 lines
1.2 KiB
Markdown
27 lines
1.2 KiB
Markdown
# OpenSSL 1.1 Test Shim
|
|
|
|
These binaries (libcrypto.so.1.1 and libssl.so.1.1) are bundled for Mongo2Go-based integration tests so they can run on hosts that only provide OpenSSL 3.
|
|
|
|
Source package: https://launchpad.net/ubuntu/+archive/primary/+files/libssl1.1_1.1.1f-1ubuntu2_amd64.deb
|
|
|
|
Licensing follows the OpenSSL and SSLeay licenses that accompany the upstream package.
|
|
|
|
## Usage
|
|
|
|
1. Point `LD_LIBRARY_PATH` at this directory before running any test suite that spins up Mongo2Go:
|
|
|
|
```bash
|
|
export LD_LIBRARY_PATH="$(git rev-parse --show-toplevel)/tests/native/openssl-1.1/linux-x64:${LD_LIBRARY_PATH:-}"
|
|
```
|
|
|
|
The helper in `tests/shared/OpenSslLegacyShim.cs` will append the path automatically when the tests run, but exporting the variable up-front avoids surprises when using custom harnesses (e.g., `dotnet test` filters).
|
|
|
|
2. Example one-shot command:
|
|
|
|
```bash
|
|
LD_LIBRARY_PATH="$(pwd)/tests/native/openssl-1.1/linux-x64" \
|
|
dotnet test src/Excititor/__Tests/StellaOps.Excititor.Worker.Tests/StellaOps.Excititor.Worker.Tests.csproj --nologo
|
|
```
|
|
|
|
3. CI runners should add the same directory to their environment or place the binaries on a globally accessible library path.
|