File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
driver/src/test/java/org/neo4j/driver/v1 Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ void shouldFailWhenServerIsRestarted()
192
192
193
193
if ( i == 0 )
194
194
{
195
- neo4j .killDb ();
195
+ neo4j .stopDb ();
196
196
}
197
197
198
198
List <Record > records = await ( cursor .listAsync () );
@@ -583,7 +583,7 @@ void shouldConsumeNonEmptyCursor()
583
583
@ Test
584
584
void shouldRunAfterRunFailureToAcquireConnection ()
585
585
{
586
- neo4j .killDb ();
586
+ neo4j .stopDb ();
587
587
588
588
assertThrows ( ServiceUnavailableException .class , () ->
589
589
{
@@ -633,7 +633,7 @@ void shouldNotRunAfterBeginTxFailureOnBookmark()
633
633
@ Test
634
634
void shouldBeginTxAfterRunFailureToAcquireConnection ()
635
635
{
636
- neo4j .killDb ();
636
+ neo4j .stopDb ();
637
637
638
638
assertThrows ( ServiceUnavailableException .class , () ->
639
639
{
Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ void shouldFailToCommitWhenServerIsRestarted()
575
575
576
576
await ( tx .runAsync ( "CREATE ()" ) );
577
577
578
- neo4j .killDb ();
578
+ neo4j .stopDb ();
579
579
580
580
assertThrows ( ServiceUnavailableException .class , () -> await ( tx .commitAsync () ) );
581
581
}
Original file line number Diff line number Diff line change @@ -163,11 +163,6 @@ public void stopDb()
163
163
runner .stopNeo4j ();
164
164
}
165
165
166
- public void killDb ()
167
- {
168
- runner .killNeo4j ();
169
- }
170
-
171
166
public ServerVersion version ()
172
167
{
173
168
return ServerVersion .version ( driver () );
You can’t perform that action at this time.
0 commit comments