Skip to content

Commit

Permalink
Bump integration test RSS and add typos config
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Michaelis <code@mgjm.de>
  • Loading branch information
mgjm committed Aug 15, 2023
1 parent af3e813 commit 450eb80
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[type.go]
extend-ignore-re = [
# ignore the generated schema binary string in *.capnp.go files
"const schema_[0-9a-f]+ = \"(\\\\?.|[^\"\\\\])*\"( \\+\\s+\"(\\\\?.|[^\"\\\\])*\")+",
]
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,5 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: crate-ci/typos@v1.16.4
with:
config: .github/typos.toml
2 changes: 1 addition & 1 deletion pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ var _ = Describe("ConmonClient", func() {
rssAfter := vmRSSGivenPID(pid)
GinkgoWriter.Printf("VmRSS after: %d\n", rssAfter)
GinkgoWriter.Printf("VmRSS diff: %d\n", rssAfter-rssBefore)
Expect(rssAfter - rssBefore).To(BeNumerically("<", 1500))
Expect(rssAfter - rssBefore).To(BeNumerically("<", 2000))
})
}
})
Expand Down

0 comments on commit 450eb80

Please sign in to comment.