Skip to content

[DRAFT] CI: Enable testing on Windows #388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1b7bbb6
Satisfy testing on macOS
amotl Oct 28, 2020
f2b5c7b
CI: Adjust CrateDB version in versions.cfg only on Linux
amotl Nov 3, 2020
edeb599
Attempt to mitigate "Failed to start Crate instance in time"
amotl Nov 3, 2020
18b332f
CI: Enable testing on Windows
amotl Nov 3, 2020
a9920f0
CI: Use "bash" when running on Windows
amotl Nov 3, 2020
ea3fee2
CI: Disable firewall on Windows before running tests
amotl Nov 3, 2020
769c627
CI: Attempt to mitigate CrateDB bootstrap errors on Windows
amotl Nov 3, 2020
9cba456
CI: Another attempt to mitigate "Unrecognized Windows Sockets error: …
amotl Nov 3, 2020
f589521
CI: Another attempt to mitigate "Unrecognized Windows Sockets error: …
amotl Nov 3, 2020
3e788da
CI: Disable IPv6 on Windows
amotl Nov 3, 2020
3a1c22f
CI: Attempt to fix Windows by setting SystemRoot env variable
amotl Nov 5, 2020
a2c86cf
CI: Fix Windows path handling
amotl Nov 5, 2020
c87dc71
CI: Improve logging to find out about any errors when starting CrateDB
amotl Nov 5, 2020
39fbad7
CI: Improve logging to find out about any errors when starting CrateDB
amotl Nov 5, 2020
8717536
CI: Fix path computation for Windows again
amotl Nov 5, 2020
0d0c4c4
CI: Give test layer some more time to tear down on Windows
amotl Nov 5, 2020
100aa9f
CI: Add comment
amotl Nov 5, 2020
18e60c3
CI: Give test layer some more time to tear down on Windows
amotl Nov 5, 2020
2a73fdd
CI: Ignore test layer timeout on tear down on Windows
amotl Nov 5, 2020
0e5533f
CI: Improve layer shutdown behaviour
amotl Nov 5, 2020
04ebe12
CI: Adjust GHA/Windows
amotl Nov 5, 2020
cb54ce8
CI: GHA/Windows again
amotl Nov 5, 2020
f5abad9
fixup! CI: Adjust CrateDB version in versions.cfg only on Linux
amotl May 25, 2022
7f8ca8b
Sandbox: Update zc.buildout to 2.13.7
amotl May 25, 2022
7d45ba0
CI: Don't fail fast when invoking the test matrix
amotl May 25, 2022
73b94ad
CI: Fix finding `bin/test` on Windows
amotl May 25, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI: Ignore test layer timeout on tear down on Windows
  • Loading branch information
amotl committed May 25, 2022
commit 2a73fdd3b465f5376ff7143e33deff1091fef608
6 changes: 5 additions & 1 deletion src/crate/testing/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,11 @@ def start(self):
def stop(self):
if self.process:
self.process.terminate()
self.process.communicate(timeout=45)
try:
self.process.communicate(timeout=10)
except subprocess.TimeoutExpired:
# On GHA/Windows, it always runs into a timeout, even after 45 seconds.
pass
self.process.stdout.close()
self.process = None
self.conn_pool.clear()
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy