Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Conversation

dennisseah
Copy link
Collaborator

@dennisseah dennisseah commented Feb 1, 2020

We cannot reproduce this problem on own laptop and we are making some guesses. The failing test is calling generate.validateRemoteSource function is an async one. In this function, there are a handful of git related async function calls. We suspect that timeout is due to the tardiness in these functions. One way to address problem is to break generate.validateRemoteSource into small functions that's having generate.validateRemoteSource to call other function in generate.ts. In this manner, we have mocked these small (size) functions in the failing test. And then having additional unit tests to test these small functions individually.

Closes microsoft/bedrock#935

@yradsmikham
Copy link
Collaborator

Addresses microsoft/bedrock#935.

@andrebriggs andrebriggs merged commit 6a50ef9 into master Feb 3, 2020
@dennisseah dennisseah deleted the fixIssue935 branch February 3, 2020 18:35
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.

Intermittent SPK unit test failure related to SPK infra
4 participants