Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

E2E runner: stabilize Windows tests #2001

Merged
merged 8 commits into from
Jan 5, 2018

Conversation

jackfrancis
Copy link
Member

@jackfrancis jackfrancis commented Jan 5, 2018

What this PR does / why we need it: Cleaning up created resources is a necessary tidying strategy for re-running E2E tests against a long-running cluster. Additionally:

  • no longer checking for kubernetes-dashboard pod twice
  • triaging Windows-specific tests for further R&D
  • added appropriate sleep enforcement

Release note:

NONE

@ghost ghost assigned jackfrancis Jan 5, 2018
@ghost ghost added the in progress label Jan 5, 2018
@@ -309,6 +313,7 @@ func (p *Pod) CheckWindowsOutboundConnection(sleep, duration time.Duration) (boo
log.Printf("Error:%s\n", err)
log.Printf("Out:%s\n", out)
}
time.Sleep(sleep)
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@jackfrancis jackfrancis changed the title E2E runner: clean up created resources E2E runner: stabilize Windows tests Jan 5, 2018
Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

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

lgtm

} else {
Skip("No linux agent was provisioned for this Cluster Definition")
}
})
})

Describe("with a windows agent pool", func() {
It("should be able to deploy an iis webserver", func() {
/*It("should be able to deploy an iis webserver", func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we just delete this instead of commenting out? or if you intend to re-enable someday, add a TODO with the conditions of when this should be uncommented.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will add a TODO, thanks

@jackfrancis jackfrancis merged commit c7e9ca5 into Azure:master Jan 5, 2018
@ghost ghost removed the in progress label Jan 5, 2018
@jackfrancis jackfrancis deleted the e2e-resource-cleanup branch January 5, 2018 20:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants