Skip to content

Add unit tests that invoke late initialize #138

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 2 commits into from
Jan 26, 2022

Conversation

ryansteakley
Copy link
Member

@ryansteakley ryansteakley commented Nov 19, 2021

Description of changes:

  • Adds LateInitialize to test_suite_runner.go
  • Adds LateInitialize unit tests which invoke LateInitialize
    • Majority of resources do not use LateInitialize so there will be no difference in the latest resource.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Member

@surajkota surajkota left a comment

Choose a reason for hiding this comment

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

Nice work!

Few comments

image: 246618743249.dkr.ecr.us-west-2.amazonaws.com/sagemaker-xgboost:1.0-1-cpu-py3
imageConfig:
repositoryAccessMode: Platform
repositoryAuthConfig: {}
Copy link
Member

Choose a reason for hiding this comment

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

remove?

Copy link
Member Author

@ryansteakley ryansteakley Dec 2, 2021

Choose a reason for hiding this comment

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

These same four lines are present in the created.yaml of this resource

name: unit-testing-transform-job
spec:
dataProcessing:
inputFilter: $
Copy link
Member

Choose a reason for hiding this comment

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

$?

Can we remove this $ and null fields?

Copy link
Member Author

Choose a reason for hiding this comment

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

the $ comes from the custom_delta.go file for this resource

Copy link
Member

Choose a reason for hiding this comment

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

@surajkota
Copy link
Member

/retest sagemaker-unit-test

@ack-bot
Copy link
Collaborator

ack-bot commented Jan 26, 2022

@surajkota: The /retest command does not accept any targets.
The following commands are available to trigger jobs:

  • /test sagemaker-kind-e2e
  • /test sagemaker-release-test
  • /test sagemaker-recommended-policy-test
  • /test sagemaker-unit-test

Use /test all to run all jobs.

In response to this:

/retest sagemaker-unit-test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@surajkota
Copy link
Member

/test sagemaker-unit-test

@surajkota
Copy link
Member

/approve
/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 26, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Jan 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mbaijal, ryansteakley, surajkota

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [mbaijal,ryansteakley,surajkota]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-bot ack-bot merged commit a51c48b into aws-controllers-k8s:main Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants