Skip to content

test: add an integrationTest source set that runs against a B2 endpoint - #230

Open
sophiecarreras wants to merge 1 commit into
masterfrom
test/integration-endpoint
Open

sophiecarreras wants to merge 1 commit into
masterfrom
test/integration-endpoint

Conversation

@sophiecarreras

Copy link
Copy Markdown
Contributor

Adds an integrationTest Gradle source set and one JUnit class that runs against B2_ENDPOINT, B2_APPLICATION_KEY_ID, B2_APPLICATION_KEY. Not wired into check or build; every test is skipped when the variables are unset, so CI is unchanged.

Flow: authorize, create bucket, upload, download by id and name, list, delete, confirm gone. Plain http only for loopback.

Evidence (simulator only, not real B2): passes at the simulator, skips with variables unset, fails with a wrong key.

Tracking: backblaze-labs/demand-side-ai#1558

🤖 Generated with Claude Code

Skipped when B2_ENDPOINT and credentials are unset; not wired into check or build.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sophiecarreras
sophiecarreras marked this pull request as ready for review November 8, 2026 15:19
@sophiecarreras

Copy link
Copy Markdown
Contributor Author

Adds an opt-in integrationTest source set, not part of check or build, skipped when B2_ENDPOINT and the key variables are unset, so CI is unchanged. Compiles and skips cleanly on JDK 17 here; simulator-only evidence for the passing case. Could you review?

This branch has not been deployed

No deployments
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.

1 participant