Skip to content

Commit

Permalink
fix flaky tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Jan 24, 2025
1 parent ebba8bc commit 1eedc1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pmtiles/edit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ func TestMalformedMetadata(t *testing.T) {
func TestTempfileExists(t *testing.T) {
fileToEdit := makeFixtureCopy(t, "edit_existing_tempfile")

os.Create(fileToEdit + ".tmp")
tmp, _ := os.Create(fileToEdit + ".tmp")
defer tmp.Close()

metadataPath := filepath.Join(t.TempDir(), "metadata.json")
metadataFile, _ := os.Create(metadataPath)
Expand Down

0 comments on commit 1eedc1a

Please sign in to comment.