-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-5569: [Build Failure] Spec Resync job is failing silently #2553
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
Changes from 9 commits
16a485c
b8fdcc1
313120a
ffdaba0
4322cc5
a4664e2
1042b82
20cb829
fb37dc7
b1297dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# Run spec syncing script and create PR | ||
set -eu | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this should make errors more visible to us |
||
|
||
# SETUP | ||
SRC_URL="https://github.com/mongodb/specifications.git" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
diff --git a/test/discovery_and_monitoring/unified/serverMonitoringMode.json b/test/discovery_and_monitoring/unified/serverMonitoringMode.json | ||
index 4b492f7d8..e44fad1bc 100644 | ||
index e44fad1b..4b492f7d 100644 | ||
--- a/test/discovery_and_monitoring/unified/serverMonitoringMode.json | ||
+++ b/test/discovery_and_monitoring/unified/serverMonitoringMode.json | ||
@@ -5,8 +5,7 @@ | ||
@@ -5,7 +5,8 @@ | ||
{ | ||
"topologies": [ | ||
"single", | ||
+ "sharded" | ||
- "sharded", | ||
- "sharded-replicaset" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We already did this ticket but for whatever reason the spec repo still has this one instance of |
||
- "sharded" | ||
+ "sharded", | ||
+ "sharded-replicaset" | ||
], | ||
"serverless": "forbid" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is to remove files in
test/discovery_and_monitoring/errors/pre-42-*.json
(I thought the
**
was a recursive wildcard? but every time i ran the resync spec script those files would pop up so i added it explicitly?)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend using
find
instead. I'm not a bash expert but the rules for ** aren't like inPath/.glob
.Try:
find /$PYMONGO /test -type f -name 'pre-42-*.json' -delete
Note that -f means that this isn't going to match directories.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ooo good idea! I've replaced the two
rm
s with thefind
instead. Thanks~