tests for a swift server and a corresponding fake

Bug #1302470 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Vincent Ladeuil

Bug Description

We already have test for the data store against a real deployment.

We need a fake for tests that needs to store objects in swift without a real deployment.

The tests should focus on the data store API we use in the components.

Setting up a local swift server is not worth the effort.

Tags: airline

Related branches

Revision history for this message
Evan (ev) wrote :

"S4" does this for the Amazon S3 API:

https://bazaar.launchpad.net/~ubuntuone-pqm-team/ubuntuone-servers/ubuntuone-s3/view/head:/s4/s4/s4.py

Perhaps we could use it as a basis for creating a fake of the Swift API, rather than teaching our usage of the Swift API to use the S3 compatibility API instead.

Ubuntu CI Bot (uci-bot)
Changed in uci-engine:
status: Triaged → Fix Committed
Vincent Ladeuil (vila)
Changed in uci-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.