Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <oparoz@users.noreply.github.com>2015-09-17 01:55:28 +0300
committerOlivier Paroz <oparoz@users.noreply.github.com>2015-09-17 01:55:28 +0300
commit111ee4ae85cb60b46e52ccf704171049ff9aee87 (patch)
treeecf4d065777621a752379288f6a970eaf0f7d5a8 /tests/README.MD
parent761b301738ab9bee178b199f188749f973c1d001 (diff)
Added some troubleshooting tips
[ci skip]
Diffstat (limited to 'tests/README.MD')
-rw-r--r--tests/README.MD19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/README.MD b/tests/README.MD
index 64b7545c..b40b8813 100644
--- a/tests/README.MD
+++ b/tests/README.MD
@@ -190,3 +190,22 @@ Don't forget to kill the phantomjs when you're done.
### Notes
If you want to get more details about what is going on during your tests, simply add `-vvv` or `--debug` at the end of the command line
+
+### Troubleshooting
+
+#### Files can't be deleted during API test
+
+If you start getting some strange errors about files which can't be deleted when running the API tests or if some the responses don't match what is expected, it could be because there is already an instance of the phpbuiltinserver running.
+This can happen when a fatal error has happened during a previous run and Codeception wasn't able to shut down the server.
+
+Get the process ID
+
+`# ps aux | grep phpbuiltinserver`
+
+Kill the process
+
+`# kill -9 <process id>`
+
+#### Accessing the built in server's logs
+
+Look for them in the `tests/_output` folder, along with a summary of the failed tests