diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-04-11 12:26:55 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-15 07:58:10 -0700 |
commit | 20f0a82b4e5c746cd9c43a6eb21e7c293084aaf3 (patch) | |
tree | d8510de16589c1581a8a1b5fa2a635cbd881dd85 /core | |
parent | f24cbbcb2cf49ff52aa3c51090b77b60ec1cfc08 (diff) | |
download | subsurface-20f0a82b4e5c746cd9c43a6eb21e7c293084aaf3.tar.gz |
testing/git-storage: fairly fundamental rewrite of the storage test
The old test was broken in many ways and kept failing for a number of
reasons. Some of them were addressed in the previous commits (the
missing HEAD ref being the main one), the other one was that the tests
kept stepping on top of each other - as were potentially random users or
reviewers using the 'universal' test account.
This uses a random one of ten dedicated test accounts, and on top of
that uses a random branch name (instead of the fixed email address
associated with the account).
This also rewrites several of the tests dealing with offline changes to
correctly model going offline (but keeps one that directly writes to the
local cache).
Finally this change also tries to do a much better job cleaning up after
itself and not leaving data behind the the next run could stumble over.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions