Skip to content

Commit

Permalink
chore: update config
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Jun 17, 2024
1 parent e0ea40c commit a19c773
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/configs/.rr-status-503.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'

rpc:
listen: tcp://127.0.0.1:6005
listen: tcp://127.0.0.1:6066

server:
command: "php php_test_files/sleep.php"
Expand Down
10 changes: 4 additions & 6 deletions tests/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ func TestStatusHttp(t *testing.T) {
cont := endure.New(slog.LevelDebug)

cfg := &config.Plugin{
Version: "2.9.0",
Version: "2024.1.0",
Path: "configs/.rr-status-init.yaml",
Prefix: "rr",
}

err := cont.RegisterAll(
Expand Down Expand Up @@ -104,9 +103,8 @@ func TestStatusRPC(t *testing.T) {
cont := endure.New(slog.LevelDebug)

cfg := &config.Plugin{
Version: "2.9.0",
Version: "2024.1.0",
Path: "configs/.rr-status-init.yaml",
Prefix: "rr",
}

err := cont.RegisterAll(
Expand Down Expand Up @@ -174,7 +172,7 @@ func TestReadyHttp(t *testing.T) {
cont := endure.New(slog.LevelDebug)

cfg := &config.Plugin{
Version: "2.9.0",
Version: "2024.1.0",
Path: "configs/.rr-status-init.yaml",
Prefix: "rr",
}
Expand Down Expand Up @@ -242,7 +240,7 @@ func TestReadinessRPCWorkerNotReady(t *testing.T) {
cont := endure.New(slog.LevelDebug, endure.GracefulShutdownTimeout(time.Second))

cfg := &config.Plugin{
Version: "2.9.0",
Version: "2024.1.0",
Path: "configs/.rr-ready-init.yaml",
Prefix: "rr",
}
Expand Down

0 comments on commit a19c773

Please sign in to comment.