Skip to content
代码片段 群组 项目
未验证 提交 74525def 编辑于 作者: Tetiana Chupryna's avatar Tetiana Chupryna 提交者: GitLab
浏览文件

Merge branch 'jennli-quarantine-extract_changes_metadata_service_spec' into 'master'

Quarantine 4 specs in extract_changes_metadata_service_spec

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154318



Merged-by: default avatarTetiana Chupryna <tchupryna@gitlab.com>
Approved-by: default avatarNao Hashizume <nhashizume@gitlab.com>
Approved-by: default avatarTetiana Chupryna <tchupryna@gitlab.com>
Co-authored-by: default avatarJennifer Li <jli@gitlab.com>
No related branches found
No related tags found
1 合并请求!2498Add job wait time to group runners dashboard
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
context 'with invalid MD5' do context 'with invalid MD5' do
let(:md5_dsc) { '1234567890123456789012345678012 671 libs optional sample_1.2.3~alpha2.dsc' } let(:md5_dsc) { '1234567890123456789012345678012 671 libs optional sample_1.2.3~alpha2.dsc' }
it 'raise ArgumentError', :aggregate_failures do it 'raise ArgumentError', :aggregate_failures, quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/463058' do
expect { subject }.to raise_error(described_class::ExtractionError, "Validation failed: Md5sum mismatch for sample_1.2.3~alpha2.dsc: #{dsc_file.file_md5} != 1234567890123456789012345678012") expect { subject }.to raise_error(described_class::ExtractionError, "Validation failed: Md5sum mismatch for sample_1.2.3~alpha2.dsc: #{dsc_file.file_md5} != 1234567890123456789012345678012")
end end
end end
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
context 'with invalid SHA1' do context 'with invalid SHA1' do
let(:sha1_dsc) { '1234567890123456789012345678901234567890 671 sample_1.2.3~alpha2.dsc' } let(:sha1_dsc) { '1234567890123456789012345678901234567890 671 sample_1.2.3~alpha2.dsc' }
it 'raise ArgumentError', :aggregate_failures do it 'raise ArgumentError', :aggregate_failures, quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/463059' do
expect { subject }.to raise_error(described_class::ExtractionError, "Validation failed: Sha1sum mismatch for sample_1.2.3~alpha2.dsc: #{dsc_file.file_sha1} != 1234567890123456789012345678901234567890") expect { subject }.to raise_error(described_class::ExtractionError, "Validation failed: Sha1sum mismatch for sample_1.2.3~alpha2.dsc: #{dsc_file.file_sha1} != 1234567890123456789012345678901234567890")
end end
end end
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
context 'with invalid SHA256' do context 'with invalid SHA256' do
let(:sha256_dsc) { '1234567890123456789012345678901234567890123456789012345678901234 671 sample_1.2.3~alpha2.dsc' } let(:sha256_dsc) { '1234567890123456789012345678901234567890123456789012345678901234 671 sample_1.2.3~alpha2.dsc' }
it 'raise ArgumentError', :aggregate_failures do it 'raise ArgumentError', :aggregate_failures, quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/463060' do
expect { subject }.to raise_error(described_class::ExtractionError, "Validation failed: Sha256sum mismatch for sample_1.2.3~alpha2.dsc: #{dsc_file.file_sha256} != 1234567890123456789012345678901234567890123456789012345678901234") expect { subject }.to raise_error(described_class::ExtractionError, "Validation failed: Sha256sum mismatch for sample_1.2.3~alpha2.dsc: #{dsc_file.file_sha256} != 1234567890123456789012345678901234567890123456789012345678901234")
end end
end end
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
incoming.package_files.first.destroy! incoming.package_files.first.destroy!
end end
it 'raise ArgumentError' do it 'raise ArgumentError', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/463061' do
expect { subject }.to raise_error(described_class::ExtractionError, "sample_1.2.3~alpha2.tar.xz is listed in Files but was not uploaded") expect { subject }.to raise_error(described_class::ExtractionError, "sample_1.2.3~alpha2.tar.xz is listed in Files but was not uploaded")
end end
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册