File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
tests-integration/Elastic.Assembler.IntegrationTests Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,15 @@ public async ValueTask InitializeAsync()
4848 _ = builder . Services . AddElasticDocumentationLogging ( LogLevel . Information ) ;
4949 _ = builder . Services . AddLogging ( c => c . AddXUnit ( ) ) ;
5050 _ = builder . Services . AddLogging ( c => c . AddInMemory ( ) ) ;
51+ if ( ! string . IsNullOrWhiteSpace ( Environment . GetEnvironmentVariable ( "CI" ) ) )
52+ {
53+ _ = builder . AddParameter ( "LlmGatewayUrl" , value : string . Empty ) ;
54+ _ = builder . AddParameter ( "LlmGatewayServiceAccountPath" , value : string . Empty ) ;
55+ _ = builder . AddParameter ( "DocumentationElasticUrl" , value : string . Empty ) ;
56+ _ = builder . AddParameter ( "DocumentationElasticApiKey" , value : string . Empty ) ;
57+ }
58+
59+
5160 DistributedApplication = await builder . BuildAsync ( ) ;
5261 InMemoryLogger = DistributedApplication . Services . GetService < InMemoryLogger > ( ) ! ;
5362 _ = DistributedApplication . StartAsync ( ) . WaitAsync ( TimeSpan . FromMinutes ( 5 ) , TestContext . Current . CancellationToken ) ;
You can’t perform that action at this time.
0 commit comments