Skip to content

Long Running Client Test

dragotin edited this page Jul 11, 2013 · 3 revisions

it would be very beneficial to have a test setup that runs the client in a normal environment for a long time, ie. a couple of days. It should work on a random, not too small set of data which is initial synced.

Setup of the Test Data Set

There is a script couple in miralls test folder that can be used to create a nice set of test data. Every other, reproduceable test data set also is ok, as long as it has a reasonable size.

Start Syncing with Logging

Start the sync client and configure it the test data folder and a reasonable test server. Start the client with logging in directory mode. That way, it produces a separate log file for every sync run as described in the client documentation.

A good log setting would be

bin/owncloud --logdir /tmp/owncloud_logs --logexpire 48

to keep the last two days logs. Note that this can still be a lot, make sure to have some spare space.