Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix test server build race condition (#134) #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 21, 2023

Conversation

Fgruntjes
Copy link
Contributor

@Fgruntjes Fgruntjes commented Nov 10, 2023

  • Added test project graphql-aspnet-testframework-tests for GraphQL.AspNet.TestFramework with a test case.
  • Fixes issue by setting the _pathInitialized at the end of SchemaItemPath.EnsurePathInitialized() method.

Let me know if you would rather not have a test project for the test framework, and I'll remove it from the PR.

…aspnet#134

* Added graphql-aspnet-testframework-tests project with
  TestServerBuilderTests
…raphql-aspnet#134)

* Ensure the SchemaItemPath.EnsurePathInitialized() method is only setting
  _pathInitialized when path is fully initialized.
@kevin-carroll kevin-carroll linked an issue Nov 10, 2023 that may be closed by this pull request
@kevin-carroll kevin-carroll self-requested a review November 10, 2023 17:06
@kevin-carroll
Copy link
Member

great catch! Thank you for the PR.

@kevin-carroll
Copy link
Member

kevin-carroll commented Nov 10, 2023

See linting issues on the failed test run. There is a powershell script ~/build/invoke-pr-build.ps1 that you can execute to swap the ruleset and run the build with the PR linting rule set locally. (it turns all the linting warnings into errors and fails the build)

@Fgruntjes
Copy link
Contributor Author

Thanks for the suggestions. Linting errors should be fixed, although I am unsure if git catches adding the BOM.

@kevin-carroll kevin-carroll self-requested a review November 14, 2023 23:31
@kevin-carroll kevin-carroll merged commit e473c5f into graphql-aspnet:master Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Race condition when building test server
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.