diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-03-01 17:45:14 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 21:43:20 +0900 |
commit | fe4894ff5a9525c8551fd33570a9eaa18bb9c74d (patch) | |
tree | 3deec027cdfcf5f694c9dcf038ba853249dc877b /spec | |
parent | 3a5cb44f65ac2329e1119ddf01f15bf72ac86765 (diff) | |
download | gitlab-ce-fe4894ff5a9525c8551fd33570a9eaa18bb9c74d.tar.gz |
Fix spec failure on mysql because it can not store long traces
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ci/trace_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/trace_spec.rb b/spec/lib/gitlab/ci/trace_spec.rb index e25a904416c..66520f6236c 100644 --- a/spec/lib/gitlab/ci/trace_spec.rb +++ b/spec/lib/gitlab/ci/trace_spec.rb @@ -483,7 +483,7 @@ describe Gitlab::Ci::Trace do context 'when trace is stored in database' do let(:build) { create(:ci_build, :success) } - let(:trace_content) { IO.read(expand_fixture_path('trace/sample_trace')) } + let(:trace_content) { 'Sample trace' } let!(:src_checksum) { Digest::SHA256.digest(trace_content) } before do |