Skip to content
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

Fix Node Autocomplete Regressions #14275

Merged
merged 2 commits into from
Aug 17, 2023
Merged

Fix Node Autocomplete Regressions #14275

merged 2 commits into from
Aug 17, 2023

Conversation

RobertGlobant20
Copy link
Contributor

Purpose

Fixing regressions related to Node Autocomplete
Due that we are adding ZeroTouchNodes during test mode 9 tests are failing, seems that there are several nodes duplicated so each test needs to be analyzed separately. Then in this temporary fix I'm reverting the code for adding ZeroTouchNodes and also removing a test that will fail due to this change.
Later we will need to check why we are getting duplicates when adding ZeroTouchNodes and re-add the deleted test that check that the nodes "+", "*", "And", "Or" exists in InCanvasSearch.

Declarations

Check these if you believe they are true

  • The codebase is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB

Release Notes

Fixing regressions related to Node Autocomplete

Reviewers

@QilongTang

FYIs

Due that we are adding ZeroTouchNodes during test mode around 9 tests are failing, seems that there are several nodes duplicates so each test needs to be analyzed separately.
Then in this fix I'm reverting the code for adding ZeroTouchNodes and also removing a test that will fail due to this change.
@RobertGlobant20
Copy link
Contributor Author

All the tests are passing locally
image

/// </summary>
[Test]
[Category("UnitTests")]
public void WhenStartingDynamoOperatorNodesNolongerMissingFromSearch()
Copy link
Contributor

Choose a reason for hiding this comment

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

Mark it as failure instead of removing it, when merging the PR

Copy link
Contributor

Choose a reason for hiding this comment

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

[Category("UnitTests")] should also be present.

Re-adding unit test with Failure category
@QilongTang QilongTang added this to the 2.19.0 milestone Aug 17, 2023
@QilongTang QilongTang merged commit 9a4cf68 into DynamoDS:master Aug 17, 2023
QilongTang pushed a commit that referenced this pull request Aug 17, 2023
* Fix Node Autocomplete Regressions

Due that we are adding ZeroTouchNodes during test mode around 9 tests are failing, seems that there are several nodes duplicates so each test needs to be analyzed separately.
Then in this fix I'm reverting the code for adding ZeroTouchNodes and also removing a test that will fail due to this change.

* Fix Node Autocomplete Regressions

Re-adding unit test with Failure category
QilongTang pushed a commit that referenced this pull request Aug 18, 2023
* Fix Node Autocomplete Regressions

Due that we are adding ZeroTouchNodes during test mode around 9 tests are failing, seems that there are several nodes duplicates so each test needs to be analyzed separately.
Then in this fix I'm reverting the code for adding ZeroTouchNodes and also removing a test that will fail due to this change.

* Fix Node Autocomplete Regressions

Re-adding unit test with Failure category
QilongTang pushed a commit that referenced this pull request Aug 24, 2023
* Fix Node Autocomplete Regressions (#14275)

* Fix Node Autocomplete Regressions

Due that we are adding ZeroTouchNodes during test mode around 9 tests are failing, seems that there are several nodes duplicates so each test needs to be analyzed separately.
Then in this fix I'm reverting the code for adding ZeroTouchNodes and also removing a test that will fail due to this change.

* Fix Node Autocomplete Regressions

Re-adding unit test with Failure category

* DYN-6148 Dynamo Library Lucene Search (#14287)

* DYN-6148 Dynamo Library Lucene Search

Implementing the use of Lucene Search in the Dynamo Library

* DYN-6148 Dynamo Library Lucene Search

Fixing calls to LuceneSearchUtility for using the Lucene Singleton.

* DYN-6148 Dynamo Library Lucene Search

Removing extra space and removing unused usings

* DYN-6148 Dynamo Library Lucene Search Regressions

The SearchNodeTest() test was moved to DynamoLibraryItemsTest due that in the LibraryResourceProviderTests we are not creating the DynamoModel (also there is no way to get the DynamoModel) so the Lucene Singleton is not created and is crashing.
Also I did some minor changes in the test due that the FullName contains the category (so instead of  "dyf://123.456.somepackage.{nodeName}" was replaced by "dyf://Core.Input.{nodeName}" otherwise the Code Block node is not found).
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.

3 participants