summaryrefslogtreecommitdiff
path: root/plugins/server/tests/configs
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-16 15:11:27 +0300
committerValery Piashchynski <[email protected]>2020-11-16 15:11:27 +0300
commitd40ff179e43a02726bfa4298e523a16c79a88cea (patch)
tree2677952acd0a396f1950b2e85cae62e8b9818d7a /plugins/server/tests/configs
parenta7ba4df83b4f2c67a3a0fb9d1dd35663935c90be (diff)
Rename app->server
Rename Config -> PoolConfig
Diffstat (limited to 'plugins/server/tests/configs')
-rw-r--r--plugins/server/tests/configs/.rr-no-app-section.yaml9
-rw-r--r--plugins/server/tests/configs/.rr-sockets.yaml9
-rw-r--r--plugins/server/tests/configs/.rr-tcp.yaml9
-rw-r--r--plugins/server/tests/configs/.rr-wrong-command.yaml9
-rw-r--r--plugins/server/tests/configs/.rr-wrong-relay.yaml9
-rw-r--r--plugins/server/tests/configs/.rr.yaml9
6 files changed, 54 insertions, 0 deletions
diff --git a/plugins/server/tests/configs/.rr-no-app-section.yaml b/plugins/server/tests/configs/.rr-no-app-section.yaml
new file mode 100644
index 00000000..b6e3ea93
--- /dev/null
+++ b/plugins/server/tests/configs/.rr-no-app-section.yaml
@@ -0,0 +1,9 @@
+server:
+ command: "php ../../../tests/client.php echo pipes"
+ user: ""
+ group: ""
+ env:
+ "RR_CONFIG": "/some/place/on/the/C134"
+ "RR_CONFIG2": "C138"
+ relay: "pipes"
+ relayTimeout: "20s" \ No newline at end of file
diff --git a/plugins/server/tests/configs/.rr-sockets.yaml b/plugins/server/tests/configs/.rr-sockets.yaml
new file mode 100644
index 00000000..ab1239aa
--- /dev/null
+++ b/plugins/server/tests/configs/.rr-sockets.yaml
@@ -0,0 +1,9 @@
+server:
+ command: "php socket.php"
+ user: ""
+ group: ""
+ env:
+ "RR_CONFIG": "/some/place/on/the/C134"
+ "RR_CONFIG2": "C138"
+ relay: "unix://unix.sock"
+ relayTimeout: "20s" \ No newline at end of file
diff --git a/plugins/server/tests/configs/.rr-tcp.yaml b/plugins/server/tests/configs/.rr-tcp.yaml
new file mode 100644
index 00000000..f53bffcc
--- /dev/null
+++ b/plugins/server/tests/configs/.rr-tcp.yaml
@@ -0,0 +1,9 @@
+server:
+ command: "php tcp.php"
+ user: ""
+ group: ""
+ env:
+ "RR_CONFIG": "/some/place/on/the/C134"
+ "RR_CONFIG2": "C138"
+ relay: "tcp://localhost:9999"
+ relayTimeout: "20s" \ No newline at end of file
diff --git a/plugins/server/tests/configs/.rr-wrong-command.yaml b/plugins/server/tests/configs/.rr-wrong-command.yaml
new file mode 100644
index 00000000..d2c087a6
--- /dev/null
+++ b/plugins/server/tests/configs/.rr-wrong-command.yaml
@@ -0,0 +1,9 @@
+server:
+ command: "php some_absent_file.php"
+ user: ""
+ group: ""
+ env:
+ "RR_CONFIG": "/some/place/on/the/C134"
+ "RR_CONFIG2": "C138"
+ relay: "pipes"
+ relayTimeout: "20s"
diff --git a/plugins/server/tests/configs/.rr-wrong-relay.yaml b/plugins/server/tests/configs/.rr-wrong-relay.yaml
new file mode 100644
index 00000000..1dd73d73
--- /dev/null
+++ b/plugins/server/tests/configs/.rr-wrong-relay.yaml
@@ -0,0 +1,9 @@
+server:
+ command: "php ../../../tests/client.php echo pipes"
+ user: ""
+ group: ""
+ env:
+ "RR_CONFIG": "/some/place/on/the/C134"
+ "RR_CONFIG2": "C138"
+ relay: "pupes"
+ relayTimeout: "20s" \ No newline at end of file
diff --git a/plugins/server/tests/configs/.rr.yaml b/plugins/server/tests/configs/.rr.yaml
new file mode 100644
index 00000000..b6e3ea93
--- /dev/null
+++ b/plugins/server/tests/configs/.rr.yaml
@@ -0,0 +1,9 @@
+server:
+ command: "php ../../../tests/client.php echo pipes"
+ user: ""
+ group: ""
+ env:
+ "RR_CONFIG": "/some/place/on/the/C134"
+ "RR_CONFIG2": "C138"
+ relay: "pipes"
+ relayTimeout: "20s" \ No newline at end of file