Commit Graph
62 Commits
Author SHA1 Message Date
Carlos Martín f0c1641fdc Revert "bug #1232: Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes"
This reverts commit e401b4900d.
2012-04-26 16:54:24 +02:00
Ruben S. Montero e401b4900d bug #1232: Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes
(cherry picked from commit 5c1d4edb01)
2012-04-21 01:54:14 +02:00
Ruben S. Montero f411c685d7 Fix compilation for tests with the new classes 2012-02-24 21:12:50 +01:00
Ruben S. Montero f4743b6077 Fix Tests. 2012-02-24 14:55:31 +01:00
Carlos Martín 03e9b52c55 Bug #1087: Core tests
(cherry picked from commit f10e852fe4)
2012-01-26 19:02:25 +01:00
Carlos Martín a0d0bd1dbb Fix ImagePoolTest::persistence test 2012-01-26 17:47:13 +01:00
Carlos Martín 498f6aa2ba Fix core tests in master 2012-01-26 17:26:57 +01:00
Carlos Martín 01e0248929 Bug #1086: Core tests for cache bug
(cherry picked from commit 7a5b42b184)
2012-01-26 17:02:06 +01:00
Carlos Martín cfb7ed5691 Update core tests for 3.2 2012-01-19 09:42:12 -08:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero 1830a284e1 feature #862: Comment out Public related tests 2012-01-09 23:36:04 +01:00
Ruben S. Montero 34cb7a19be feature #966: Images can now be referred by name with IMAGE. Conflicts for images with the same name can be resolved with IMAGE_UID and IMAGE_UNAME 2011-11-12 03:20:59 +01:00
Ruben S. Montero 5407e58967 bug #847 - #913: Fixes Images Unit Tests. 2011-10-14 13:16:49 +02:00
Carlos Martín 32421690f3 Bug #804: Fix core unit tests 2011-09-16 15:52:36 +02:00
Carlos Martín d37f19638e Add new Image unit test, and fix segfault problems 2011-09-14 17:05:27 +02:00
Carlos Martín 06ab68f306 Feature #788: Fix ImagePoolTest, adding SIZE element 2011-09-13 13:02:10 +02:00
Carlos Martín 3cf9d5c68b Bug #742: Images can't be made (non)persistent when are in use. Add better error reporting. 2011-07-26 19:35:58 +02:00
Carlos Martín 81d9a077b3 Fix core unit testing tests for ImagePool: duplicated image names are not allowed 2011-07-12 19:30:26 +02:00
Ruben S. Montero 82982a7a31 feature #653, #488: Images can only be referenced by ID in DISKs. Names can now be repeated, even for the same user 2011-07-08 18:55:21 +02:00
Ruben S. Montero 655d9f4a29 feature #687: Fixes tests after UNAME/GNAME elements were added 2011-07-04 01:28:07 +02:00
Ruben S. Montero 1e9050a819 feature #687: Fix compilation for pool tests 2011-07-04 00:57:40 +02:00
Ruben S. Montero 589fa7a875 feature #407: Fixes Image tests. persistent method returns 0 (not true) for successful operations 2011-06-09 10:51:17 +02:00
Carlos Martín a5062dc68d Feature #523, #662: Fix most of the Image unit tests. This comes from 35666985 2011-06-08 18:30:36 +02:00
Carlos Martín 3fa10a2ddf Feature #407: Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
  * The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
      -2 all,  -1 mine & public,  >=0 UID
    to
      -3 mine,  -2 all,  -1 mine & group
  * USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
  * onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Carlos Martín 09c93c7528 Feature #407: Remove usernames from owned resources, only user-id is stored now. 2011-05-12 17:10:35 +02:00
Ruben S. Montero 76b786150a feature #523: Fix tests for the new image drivers 2011-05-07 23:29:37 +02:00
Ruben S. Montero 96f26468a1 feature #523: Image repository is now decopled from storage backend. Source is generated by drivers using a driver-specific URL. 2011-05-07 02:49:07 +02:00
Carlos Martín 457695f934 Feature #523: Fix ImagePool tests 2011-03-29 15:39:02 +02:00
Ruben S. Montero 3566698590 feature #523: Updated Image tests. 2011-03-26 01:03:22 +01:00
Ruben S. Montero 08466818fd Merge branch 'feature-407' into feature-523 2011-03-10 12:34:46 +01:00
Carlos Martín 4ef82d3e92 Feature #407: Let images have duplicated names if they are owned by different users 2011-03-08 17:27:18 +01:00
Ruben S. Montero e18675bf67 feature #407: Refactor of base classes to include names and uid. Also the pool now has an index to get objects by name 2011-03-04 22:37:21 +01:00
Carlos Martín 3e7b2b73e2 Feature #407: Image Allocation bug fixed, and test cleanup 2011-03-01 17:39:31 +01:00
Carlos Martín d3828b30da Feature #407: Image uses new DB blob schema 2011-02-25 19:02:29 +01:00
Jaime Melis 4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Carlos Martín 55f44bbc99 Core Unit testing: batch execution improvements, & missing one_auth files fix 2011-02-03 19:22:39 +01:00
Ruben S. Montero 62fd74e890 Solved minor memory leaks when parser error occurs. Solved leaks in unit tests 2010-08-08 13:20:24 +02:00
Ruben S. Montero 3347c51489 bug #274: Updated tests 2010-08-06 00:23:57 +02:00
Carlos Martín 6ed71133b6 feature #192: tests for image persistence. 2010-08-05 17:49:06 +02:00
Carlos Martín fa002ca701 feature #282: Template attributes are now managed by the PoolSQL objects, and then the object has to be updated to write changes to DB. 2010-08-04 16:55:00 +02:00
Carlos Martín 51bf1d5be0 feature #192: Tests modified for new ImageTemplate. 2010-08-04 12:32:45 +02:00
Carlos Martín 06f24cb2e0 feature #192: Image tests fixed. 2010-08-04 10:52:34 +02:00
Carlos Martín cde239b94d feature #192: Image tests updated for #279 and #281. 2010-07-20 20:10:11 +02:00
Ruben S. Montero c2dab09159 feature #203: Added some more checks to tests and build options 2010-07-15 16:37:58 +02:00
Carlos Martín d68855a4c6 feature #192: New tests for ImagePool::disk_attribute and tests fixed for new ImagePool::allocate parameters (#203). 2010-07-15 16:04:32 +02:00
Ruben S. Montero 334ad65c82 feature #200: Homogenous insert/allocate methods 2010-07-01 19:36:25 +02:00
Ruben S. Montero fa5684c894 feature #200:Fix tests 2010-07-01 16:26:03 +02:00
Carlos Martín 5955da4dbe feature #192 & #200 : New test for Image::disk_attribute 2010-06-30 16:48:28 +02:00
Ruben S. Montero cab2a20606 feature #200: enable images to get disk attributes 2010-06-26 00:18:19 +02:00
Ruben S. Montero 68bd4279ea feature #200: Fixed the tests. 2010-06-25 23:56:54 +02:00