projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '20612-diag-ctr-api-access'
[arvados.git]
/
services
/
api
/
test
/
performance
/
permission_test.rb
diff --git
a/services/api/test/performance/permission_test.rb
b/services/api/test/performance/permission_test.rb
index d0e6413b16ab195b0e8fe03ba865abba0a2b3541..e5d62cf4cf147eaad10cf6ffe913a037f7c6adac 100644
(file)
--- a/
services/api/test/performance/permission_test.rb
+++ b/
services/api/test/performance/permission_test.rb
@@
-24,7
+24,7
@@
class PermissionPerfTest < ActionDispatch::IntegrationTest
act_as_system_user do
puts("Time spent creating records:", Benchmark.measure do
ActiveRecord::Base.transaction do
act_as_system_user do
puts("Time spent creating records:", Benchmark.measure do
ActiveRecord::Base.transaction do
- root = Group.create!(owner_uuid: users(:permission_perftest).uuid)
+ root = Group.create!(owner_uuid: users(:permission_perftest).uuid
, group_class: "project"
)
n += 1
a = create_eight root.uuid
n += 8
n += 1
a = create_eight root.uuid
n += 8