Skip to content

Commit aff6860

Browse files
committed
Restart tests not supported on Windows
1 parent 363da25 commit aff6860

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_stability.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
# limitations under the License.
2020

2121

22+
import platform
23+
from unittest import skipIf
24+
2225
from neo4j.v1 import GraphDatabase, basic_auth, ProtocolError
2326

2427
from test.util import ServerTestCase, restart_server
@@ -29,6 +32,7 @@
2932

3033
class ServerRestartTestCase(ServerTestCase):
3134

35+
@skipIf(platform.system() == "Windows", "restart testing not supported on Windows")
3236
def test_server_shutdown_detection(self):
3337
driver = GraphDatabase.driver("bolt://localhost", auth=auth_token)
3438
session = driver.session()

0 commit comments

Comments
 (0)