File tree Expand file tree Collapse file tree
libsql-server/tests/embedded_replica Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1292,7 +1292,7 @@ fn replicated_return() {
12921292
12931293 drop ( fut) ;
12941294
1295- tokio:: fs:: File :: create ( path. join ( ".sentinel" ) )
1295+ tokio:: fs:: File :: create ( path. join ( "dbs" ) . join ( "default" ) . join ( " .sentinel") )
12961296 . await
12971297 . unwrap ( ) ;
12981298
@@ -1305,15 +1305,10 @@ fn replicated_return() {
13051305 } ) ;
13061306
13071307 sim. client ( "client" , async move {
1308- let client = Client :: new ( ) ;
1309- client
1310- . post ( "http://primary:9090/v1/namespaces/foo/create" , json ! ( { } ) )
1311- . await ?;
1312-
13131308 let path = tmp_embedded_path. join ( "embedded" ) ;
13141309 let db = Database :: open_with_remote_sync_connector (
13151310 path. to_str ( ) . unwrap ( ) ,
1316- "http://foo. primary:8080" ,
1311+ "http://primary:8080" ,
13171312 "" ,
13181313 TurmoilConnector ,
13191314 false ,
@@ -1350,7 +1345,7 @@ fn replicated_return() {
13501345
13511346 let rep = db. sync ( ) . await . unwrap ( ) ;
13521347 assert_eq ! ( rep. frame_no( ) , Some ( 4 ) ) ;
1353- assert_eq ! ( rep. start_frame_no( ) , Some ( 4 ) ) ;
1348+ assert_eq ! ( rep. start_frame_no( ) , Some ( 1 ) ) ;
13541349
13551350 Ok ( ( ) )
13561351 } ) ;
You can’t perform that action at this time.
0 commit comments