Skip to content

Commit 0ad84b0

Browse files
committed
Update tests to use the latest version of the cache plugin (v0.4.0)
1 parent 4635e46 commit 0ad84b0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

cmd/cmd_helpers_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ func executeCommandC(root *cobra.Command, args ...string) (string, error) {
2525

2626
// mustPullPlugin pulls the gatewayd-plugin-cache plugin and returns the path to the archive.
2727
func mustPullPlugin() (string, error) {
28-
pluginURL := "github.com/gatewayd-io/gatewayd-plugin-cache@v0.2.10"
28+
pluginURL := "github.com/gatewayd-io/gatewayd-plugin-cache@v0.4.0"
2929

3030
fileName := fmt.Sprintf(
3131
"./gatewayd-plugin-cache-%s-%s-%s%s",
3232
runtime.GOOS,
3333
runtime.GOARCH,
34-
"v0.2.10",
34+
"v0.4.0",
3535
getFileExtension(),
3636
)
3737

cmd/testdata/gatewayd_plugins.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins:
22
- name: gatewayd-plugin-cache
33
enabled: True
4-
url: github.com/gatewayd-io/gatewayd-plugin-cache@v0.2.10
4+
url: github.com/gatewayd-io/gatewayd-plugin-cache@v0.4.0
55
localPath: plugins/gatewayd-plugin-cache
66
args: ["--log-level", "debug"]
77
env:
@@ -12,10 +12,11 @@ plugins:
1212
- METRICS_ENABLED=True
1313
- METRICS_UNIX_DOMAIN_SOCKET=/tmp/gatewayd-plugin-cache.sock
1414
- METRICS_PATH=/metrics
15+
- API_GRPC_ADDRESS=localhost:19090
1516
- PERIODIC_INVALIDATOR_ENABLED=True
1617
- PERIODIC_INVALIDATOR_INTERVAL=1m
1718
- PERIODIC_INVALIDATOR_START_DELAY=1m
18-
- API_ADDRESS=localhost:18080
1919
- EXIT_ON_STARTUP_ERROR=False
2020
- SENTRY_DSN=https://70eb1abcd32e41acbdfc17bc3407a543@o4504550475038720.ingest.sentry.io/4505342961123328
21-
checksum: 867e09326da10b6e321d8dbcfcf2d20835bde79a82edc2b440dd81d151041672
21+
- CACHE_CHANNEL_BUFFER_SIZE=100
22+
checksum: 59b67b810f030cb96737818240ceafcc3722b48fd43d54f0747d3bc37c727984

0 commit comments

Comments
 (0)