Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1d70c15b
Commit
1d70c15b
authored
Aug 28, 2020
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close and unlink tempfile after use
parent
17a069ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ee/spec/factories/ci/job_artifacts.rb
ee/spec/factories/ci/job_artifacts.rb
+2
-0
No files found.
ee/spec/factories/ci/job_artifacts.rb
View file @
1d70c15b
...
@@ -190,6 +190,8 @@ FactoryBot.define do
...
@@ -190,6 +190,8 @@ FactoryBot.define do
output
=
Tempfile
.
new
(
"gl-sast-missing-identifiers"
)
output
=
Tempfile
.
new
(
"gl-sast-missing-identifiers"
)
output
.
write
(
data
)
output
.
write
(
data
)
artifact
.
file
=
fixture_file_upload
(
output
.
path
,
'application/json'
)
artifact
.
file
=
fixture_file_upload
(
output
.
path
,
'application/json'
)
output
.
close
output
.
unlink
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment