Skip to content

Commit

Permalink
Bump integration test max 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 3e22234 commit 34b8864
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
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.1
with:
config: .github/typos.toml
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ integration-static: .install.ginkgo # It needs to be release so we correctly tes
$(MAKE) release-static; \
fi && \
export RUNTIME_BINARY="$(RUNTIME_PATH)" && \
export MAX_RSS_KB=4500 && \
export MAX_RSS_KB=5000 && \
sudo -E "$(GOTOOLS_BINDIR)/ginkgo" $(TEST_FLAGS) $(GINKGO_FLAGS)

.install.ginkgo:
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var (
busyboxDest = filepath.Join(busyboxDestDir, "busybox")
runtimePath = os.Getenv("RUNTIME_BINARY")
conmonPath = os.Getenv(conmonBinaryKey)
maxRSSKB = 4500
maxRSSKB = 5000
)

// TestConmonClient runs the created specs.
Expand Down

0 comments on commit 34b8864

Please sign in to comment.