Skip to content

Commit 0f97445

Browse files
committed
firecracker: fix dropped test errors
Signed-off-by: Lars Lehtonen <[email protected]>
1 parent c69770f commit 0f97445

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

machine_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,13 @@ func TestLogFiles(t *testing.T) {
759759
stdoutPath := filepath.Join(testDataPath, "stdout.log")
760760
stderrPath := filepath.Join(testDataPath, "stderr.log")
761761
stdout, err := os.Create(stdoutPath)
762+
if err != nil {
763+
t.Fatalf("error creating %q: %v", stdoutPath, err)
764+
}
762765
stderr, err := os.Create(stderrPath)
766+
if err != nil {
767+
t.Fatalf("error creating %q: %v", stderrPath, err)
768+
}
763769

764770
fd, err := net.Listen("unix", cfg.SocketPath)
765771
if err != nil {

0 commit comments

Comments
 (0)