summaryrefslogtreecommitdiff
path: root/plugins/app/tests/configs
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-05 17:58:23 +0300
committerGitHub <[email protected]>2020-11-05 17:58:23 +0300
commit9fbe7726dd55cfedda724b7644e1b6bf7c1a6cb4 (patch)
treef2bf9b97d38103de51e2d140aa76666f9c6341c8 /plugins/app/tests/configs
parentedc45b3e24afdb5e56e74ffbbbd50e0e3b04922b (diff)
parent73da7300fcc9b8b22faa1c91fc1faff22ab944ff (diff)
Merge pull request #388 from spiral/enhancement/testsv2.0.0-alpha15
Tests for the new plugins
Diffstat (limited to 'plugins/app/tests/configs')
-rw-r--r--plugins/app/tests/configs/.rr-no-app-section.yaml9
-rw-r--r--plugins/app/tests/configs/.rr-sockets.yaml9
-rw-r--r--plugins/app/tests/configs/.rr-tcp.yaml9
-rw-r--r--plugins/app/tests/configs/.rr-wrong-command.yaml9
-rw-r--r--plugins/app/tests/configs/.rr-wrong-relay.yaml9
-rw-r--r--plugins/app/tests/configs/.rr.yaml9
6 files changed, 54 insertions, 0 deletions
diff --git a/plugins/app/tests/configs/.rr-no-app-section.yaml b/plugins/app/tests/configs/.rr-no-app-section.yaml
new file mode 100644
index 00000000..d129ae8a
--- /dev/null
+++ b/plugins/app/tests/configs/.rr-no-app-section.yaml
@@ -0,0 +1,9 @@
+upp:
+ 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/app/tests/configs/.rr-sockets.yaml b/plugins/app/tests/configs/.rr-sockets.yaml
new file mode 100644
index 00000000..9bd62693
--- /dev/null
+++ b/plugins/app/tests/configs/.rr-sockets.yaml
@@ -0,0 +1,9 @@
+app:
+ 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/app/tests/configs/.rr-tcp.yaml b/plugins/app/tests/configs/.rr-tcp.yaml
new file mode 100644
index 00000000..c5a26d37
--- /dev/null
+++ b/plugins/app/tests/configs/.rr-tcp.yaml
@@ -0,0 +1,9 @@
+app:
+ 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/app/tests/configs/.rr-wrong-command.yaml b/plugins/app/tests/configs/.rr-wrong-command.yaml
new file mode 100644
index 00000000..4bd019d3
--- /dev/null
+++ b/plugins/app/tests/configs/.rr-wrong-command.yaml
@@ -0,0 +1,9 @@
+app:
+ 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/app/tests/configs/.rr-wrong-relay.yaml b/plugins/app/tests/configs/.rr-wrong-relay.yaml
new file mode 100644
index 00000000..d8ffe8f8
--- /dev/null
+++ b/plugins/app/tests/configs/.rr-wrong-relay.yaml
@@ -0,0 +1,9 @@
+app:
+ 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/app/tests/configs/.rr.yaml b/plugins/app/tests/configs/.rr.yaml
new file mode 100644
index 00000000..221aff92
--- /dev/null
+++ b/plugins/app/tests/configs/.rr.yaml
@@ -0,0 +1,9 @@
+app:
+ 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