File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 99
1010namespace CommunityToolkit . Aspire . SurrealDb . Tests ;
1111
12+ [ CollectionDefinition ( "Conformance" , DisableParallelization = true ) ]
13+ public class ConformanceCollection ;
14+
15+ [ Collection ( "Conformance" ) ]
1216public class ConformanceTests :
1317 ConformanceTests < SurrealDbClient , SurrealDbClientSettings > ,
1418 IClassFixture < SurrealDbContainerFixture >
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public async Task InitializeAsync()
5050 Container = new ContainerBuilder ( )
5151 . WithImage ( $ "{ SurrealDbContainerImageTags . Registry } /{ SurrealDbContainerImageTags . Image } :{ SurrealDbContainerImageTags . Tag } ")
5252 . WithPortBinding ( _port , true )
53- . WithWaitStrategy ( Wait . ForUnixContainer ( ) . UntilHttpRequestIsSucceeded ( r => r . ForPort ( _port ) ) )
53+ . WithWaitStrategy ( Wait . ForUnixContainer ( ) . UntilHttpRequestIsSucceeded ( r => r . ForPort ( _port ) . ForPath ( "/health" ) ) )
5454 . WithEnvironment ( "SURREAL_USER" , _username )
5555 . WithEnvironment ( "SURREAL_PASS" , _password )
5656 . WithCommand ( "start" , "memory" )
You can’t perform that action at this time.
0 commit comments