Skip to content

Commit 6f2fac2

Browse files
committed
CI: Attempt to mitigate CrateDB bootstrap errors on Windows
1 parent 8fa73dd commit 6f2fac2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/crate/testing/layer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ def __init__(self,
230230
if crate_exec is None:
231231
start_script = 'crate.bat' if sys.platform == 'win32' else 'crate'
232232
crate_exec = os.path.join(crate_home, 'bin', start_script)
233+
crate_exec += ('-Djava.net.preferIPv4Stack=true',)
233234
if crate_config is None:
234235
crate_config = os.path.join(crate_home, 'config', 'crate.yml')
235236
elif (os.path.isfile(crate_config) and

0 commit comments

Comments
 (0)