Skip to content

DYN-10517: Fix define data test#17115

Open
kalunkuo wants to merge 1 commit into
DynamoDS:masterfrom
kalunkuo:DYN-10517
Open

DYN-10517: Fix define data test#17115
kalunkuo wants to merge 1 commit into
DynamoDS:masterfrom
kalunkuo:DYN-10517

Conversation

@kalunkuo
Copy link
Copy Markdown
Contributor

@kalunkuo kalunkuo commented May 20, 2026

Purpose

Fixed a crash when running define Data–related automated tests.
Add DesignScriptBuiltin.dll and DSCoreNodes.dll to preload in DefineDataTests.

Declarations

Check these if you believe they are true

Release Notes

Fixed a crash when running define Data–related automated tests.

Reviewers

(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)

(FILL ME IN, optional) Any additional notes to reviewers or testers.

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

Copilot AI review requested due to automatic review settings May 20, 2026 18:12
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-10517

@kalunkuo kalunkuo requested review from RobertGlobant20 and mjkkirschner and removed request for Copilot May 20, 2026 18:12
Copy link
Copy Markdown
Contributor

@RobertGlobant20 RobertGlobant20 left a comment

Choose a reason for hiding this comment

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

LGTM

@sonarqubecloud
Copy link
Copy Markdown

@RobertGlobant20
Copy link
Copy Markdown
Contributor

build passed in the next job, not sure why Dynamo SelfServe is waiting for results.
https://c007.cloudbees-ci.autodesk.com/job/DYNCI/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/224/
FYI: @avidit

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes crashes in DynamoCore unit tests related to the DefineData node by ensuring required core libraries are preloaded for the test fixture and by explicitly testing the “no selection” dropdown state.

Changes:

  • Preload DesignScriptBuiltin.dll (in addition to DSCoreNodes.dll) for DefineDataTests to prevent test-time crashes due to missing library initialization.
  • Update ValueTypeIdSafeWhenNoSelection to explicitly set SelectedIndex = -1 before accessing ValueTypeId.

@avidit
Copy link
Copy Markdown
Contributor

avidit commented May 21, 2026

build passed in the next job, not sure why Dynamo SelfServe is waiting for results. c007.cloudbees-ci.autodesk.com/job/DYNCI/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/224 FYI: @avidit

pullRequestValidation looks good. I have rebuild the smoke test job.

@RobertGlobant20
Copy link
Copy Markdown
Contributor

build passed in the next job, not sure why Dynamo SelfServe is waiting for results. c007.cloudbees-ci.autodesk.com/job/DYNCI/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/224 FYI: @avidit

pullRequestValidation looks good. I have rebuild the smoke test job.

@avidit Dynamo Smoke Test check still failing

@avidit
Copy link
Copy Markdown
Contributor

avidit commented May 22, 2026

build passed in the next job, not sure why Dynamo SelfServe is waiting for results. c007.cloudbees-ci.autodesk.com/job/DYNCI/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/224 FYI: @avidit

pullRequestValidation looks good. I have rebuild the smoke test job.

@avidit Dynamo Smoke Test check still failing

Feel free to merge it. The smoke tests failure was Jenkins issue

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.

5 participants