deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [2/2] git commit: CIMI - Tests - reenabling collections testing for addresses and forwardingGroupTemplates
Date Tue, 26 Feb 2013 01:51:05 GMT
Updated Branches:
  refs/heads/master a09a7cf79 -> d536f252b


CIMI - Tests - reenabling collections testing for addresses and forwardingGroupTemplates

TrackedAt: http://tracker.deltacloud.org/patch/1609762c0dcdf5acb6c2dc0f9c403f23662fdfdf


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/256e9ad6
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/256e9ad6
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/256e9ad6

Branch: refs/heads/master
Commit: 256e9ad60eae37366c1b60bee7ab29b0f8a46a18
Parents: a09a7cf
Author: Ronelle Landy <rlandy@redhat.com>
Authored: Mon Feb 25 16:43:56 2013 -0500
Committer: David Lutterkort <lutter@redhat.com>
Committed: Mon Feb 25 17:50:27 2013 -0800

----------------------------------------------------------------------
 server/lib/cimi/collections/addresses.rb |    2 ++
 tests/cimi/cep_test.rb                   |    6 ++----
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/256e9ad6/server/lib/cimi/collections/addresses.rb
----------------------------------------------------------------------
diff --git a/server/lib/cimi/collections/addresses.rb b/server/lib/cimi/collections/addresses.rb
index c34068d..92aca3e 100644
--- a/server/lib/cimi/collections/addresses.rb
+++ b/server/lib/cimi/collections/addresses.rb
@@ -25,7 +25,9 @@ module CIMI::Collections
       operation :index, :with_capability => :addresses do
         description 'List all Addresses in the AddressCollection'
         control do
+          puts "GET ADDRESSES"
           addresses = Address.list(self).select_by(params['$select'])
+          puts "GOT #{addresses.size}"
           respond_to do |format|
             format.xml {addresses.to_xml}
             format.json {addresses.to_json}

http://git-wip-us.apache.org/repos/asf/deltacloud/blob/256e9ad6/tests/cimi/cep_test.rb
----------------------------------------------------------------------
diff --git a/tests/cimi/cep_test.rb b/tests/cimi/cep_test.rb
index 24e19bf..c36ca16 100644
--- a/tests/cimi/cep_test.rb
+++ b/tests/cimi/cep_test.rb
@@ -26,12 +26,10 @@ class CloundEntryPointBehavior < CIMI::Test::Spec
             "volumes", "volumeTemplates", "volumeConfigs", "volumeImages",
             "networks", "networkTemplates", "networkConfigs", "networkPorts",
             "networkPortTemplates", "networkPortConfigs",
-# FIXME: accessing this collection errors
+# FIXME: addresses exposes a Rabbit bug
 #            "addresses",
             "addressTemplates", "forwardingGroups",
-# FIXME: accessing this collection causes the thin process to take
-#        all available memory
-#            "forwardingGroupTemplates",
+            "forwardingGroupTemplates",
             "jobs", "meters", "meterTemplates", "meterConfigs",
             "eventLogs", "eventLogTemplates" ]
 


Mime
View raw message