fix read of undefined in http tests
This commit is contained in:
committed by
Alex Rønne Petersen
parent
cfb5350ed4
commit
57f45cc87c
@@ -1105,8 +1105,8 @@ fn createTestServer(S: type) !*TestServer {
|
||||
const test_server = try std.testing.allocator.create(TestServer);
|
||||
test_server.* = .{
|
||||
.net_server = try address.listen(.{ .reuse_address = true }),
|
||||
.server_thread = try std.Thread.spawn(.{}, S.run, .{test_server}),
|
||||
.shutting_down = false,
|
||||
.server_thread = try std.Thread.spawn(.{}, S.run, .{test_server}),
|
||||
};
|
||||
return test_server;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user