Skip to content

Commit b0c16b7

Browse files
rolandgroenclaude
andcommitted
fix: add missing NVI_TENANT environment variable to e2e test HAPI container
The fake-nvi HAPI FHIR server requires both NVI_AUDIENCE and NVI_TENANT environment variables to properly configure the NVI partition. The test harness was missing NVI_TENANT, causing partition validation errors when searching for DocumentReferences through the NVI Gateway. This aligns the e2e test configuration with the docker-compose.yml setup which already includes both environment variables. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8e97793 commit b0c16b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/e2e/harness/hapi.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func startHAPI(t *testing.T, dockerNetworkName string) *url.URL {
2727
"hapi.fhir.delete_expunge_enabled": "true",
2828
"hapi.fhir.allow_multiple_delete": "true",
2929
"NVI_AUDIENCE": "nvi",
30+
"NVI_TENANT": "nvi",
3031
},
3132
WaitingFor: wait.ForHTTP("/fhir/DEFAULT/Account"),
3233
LogConsumerCfg: &testcontainers.LogConsumerConfig{

0 commit comments

Comments
 (0)