Skip to content

Commit 5c0890a

Browse files
authored
CLOUDP-274733: Fix flaky test (#264)
1 parent dbebab7 commit 5c0890a

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

.github/workflows/required-spec-validations.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ jobs:
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
26+
- name: Setup Node
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: '20.x'
30+
- name: Install npm dependencies
31+
uses: nick-fields/retry@v3
32+
with:
33+
timeout_minutes: 10
34+
max_attempts: 3
35+
command: npm install
2636
- name: Download openapi-foas
2737
uses: actions/download-artifact@v4
2838
with:

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "mongodb-openapi",
3+
"description": "MongoDB repository with OpenAPI specification"
4+
}

tools/cli/internal/breakingchanges/exemptions.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ func GetValidExemptionsList(exemptionsPath string, ignoreExpiration bool, fs afe
8989
validExemptions = append(validExemptions, exemption)
9090
}
9191
}
92+
93+
log.Printf("Found %d valid exemptions", len(validExemptions))
9294
return validExemptions, nil
9395
}
9496

tools/cli/internal/changelog/outputfilter/hide.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func hideByIDs(entries []*OasDiffEntry, ids []string) ([]*OasDiffEntry, error) {
5656
// hideByExemptions hides entries based on the exemptions
5757
func hideByExemptions(entries []*OasDiffEntry, exemptions []breakingchanges.Exemption) ([]*OasDiffEntry, error) {
5858
exemptionsMarkedHidden := breakingchanges.GetHiddenExemptions(exemptions)
59+
log.Printf("Found %d exemptions marked hidden from the changelog.", len(exemptionsMarkedHidden))
5960
hiddenEntries := 0
6061
for _, entry := range entries {
6162
if entry.HideFromChangelog {

0 commit comments

Comments
 (0)