diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-04-06 19:20:27 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-04-06 19:20:27 +0300 |
commit | 828d81ee1f6aaaf6ab9de1ed0c675ff961831c17 (patch) | |
tree | a8e9ba81f60e1185a86920ace8b9b2e9352e8ce9 /db/fixtures/development | |
parent | 514dc1a0848616b93e8910c6c48eea4f64391884 (diff) |
Optimise trace handling code to use streaming instead of full read
Diffstat (limited to 'db/fixtures/development')
-rw-r--r-- | db/fixtures/development/14_pipelines.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/fixtures/development/14_pipelines.rb b/db/fixtures/development/14_pipelines.rb index 534847a7107..3c42f7db6d5 100644 --- a/db/fixtures/development/14_pipelines.rb +++ b/db/fixtures/development/14_pipelines.rb @@ -130,7 +130,7 @@ class Gitlab::Seeder::Pipelines def setup_build_log(build) if %w(running success failed).include?(build.status) - build.trace = FFaker::Lorem.paragraphs(6).join("\n\n") + build.trace.set(FFaker::Lorem.paragraphs(6).join("\n\n")) end end |