projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b61f983
)
6203: Fix cheating test.
author
Tom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 06:23:37 +0000
(
02:23
-0400)
committer
Tom Clegg <tom@curoverse.com>
Mon, 8 Jun 2015 06:23:37 +0000
(
02:23
-0400)
services/api/test/unit/collection_performance_test.rb
patch
|
blob
|
history
diff --git
a/services/api/test/unit/collection_performance_test.rb
b/services/api/test/unit/collection_performance_test.rb
index 075b4c542b0b2c5a48ba78a2353babbc093fa745..37da5fddde9da8a0d0e34f7d292394c3ffe4cf87 100644
(file)
--- a/
services/api/test/unit/collection_performance_test.rb
+++ b/
services/api/test/unit/collection_performance_test.rb
@@
-33,6
+33,7
@@
class CollectionModelPerformanceTest < ActiveSupport::TestCase
c.check_signatures
end
time_block 'check signatures + save' do
c.check_signatures
end
time_block 'check signatures + save' do
+ c.instance_eval do @signatures_checked = false end
c.save!
end
c = time_block 'read' do
c.save!
end
c = time_block 'read' do