Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Make sure IApplicationLifetime gets added even if startup throws. #446

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

Tratcher
Copy link
Member

@davidfowl
Copy link
Member

Add a test

@Tratcher Tratcher force-pushed the tratcher/applifetime branch from abda1c4 to 1f1c4b9 Compare October 25, 2015 16:59
@Tratcher
Copy link
Member Author

Updated

@Tratcher Tratcher added this to the 1.0.0-rc1 milestone Oct 25, 2015
@Tratcher Tratcher self-assigned this Oct 25, 2015
{
var builder = CreateWebHostBuilder();
var serverFactory = new TestServerFactory();
var engine = (HostingEngine)builder.UseServer(serverFactory).UseStartup<StartupCtorThrows>().Build();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this need to cast?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the tests assert on non-interface members, but not this one. removed.

@Tratcher Tratcher force-pushed the tratcher/applifetime branch from 1f1c4b9 to 52796a0 Compare October 26, 2015 15:59
@Tratcher
Copy link
Member Author

Updated.

@davidfowl
Copy link
Member

Why is travis failing?

@Tratcher
Copy link
Member Author

IHttpContextFactory due to the lack of a recent coherence build.

@Tratcher
Copy link
Member Author

@muratg

@HaoK
Copy link
Member

HaoK commented Oct 26, 2015

:shipit:

@Tratcher Tratcher merged commit 52796a0 into dev Oct 26, 2015
@Tratcher Tratcher deleted the tratcher/applifetime branch October 26, 2015 17:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants