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 e2e tests #172

Merged
merged 7 commits into from
May 22, 2020
Merged

Fix e2e tests #172

merged 7 commits into from
May 22, 2020

Conversation

lorenabalan
Copy link
Contributor

@lorenabalan lorenabalan commented May 21, 2020

Description

Last scenario in viz.feature fails, which I was able to reproduce manually in a clean environment. It is actually expected behaviour, we should update our tests.

Development notes

We don't run kedro install after creating a Kedro project in e2e tests, which is an incomplete workflow.

QA notes

Somehow this failed on my machine with a weird error (https://stackoverflow.com/questions/54093020/no-module-named-pandas-libs-tslib/54539768) complaining about pandas already being installed, so checking if this is reproduced on CI. If yes, it's sth weird we're doing in behave setup.

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

Legal notice

  • I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

  • I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

  • I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

  • I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

@lorenabalan lorenabalan self-assigned this May 21, 2020
Copy link
Contributor

@richardwestenra richardwestenra left a comment

Choose a reason for hiding this comment

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

Thanks so much for this prompt fix! LGTM, but you might want to get someone else to take a look

Copy link
Contributor

@DmitriiDeriabinQB DmitriiDeriabinQB left a comment

Choose a reason for hiding this comment

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

👍

@lorenabalan lorenabalan marked this pull request as ready for review May 21, 2020 12:50
@lorenabalan lorenabalan requested a review from 921kiyo as a code owner May 21, 2020 12:50
Copy link
Collaborator

@limdauto limdauto left a comment

Choose a reason for hiding this comment

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

Great find! Have it been passing purely because of CircleCI caching?

@lorenabalan
Copy link
Contributor Author

Great find! Have it been passing purely because of CircleCI caching?

Potentially. I'm not sure what's happening, it's failing locally for me and @DmitriiDeriabinQB .

…quirements before so it should work without it for old versions
@lorenabalan lorenabalan changed the title Fix e2e tests - Check if this works on CI [Please don't merge me] Fix e2e tests May 21, 2020
@lorenabalan lorenabalan marked this pull request as draft May 21, 2020 14:44
@lorenabalan lorenabalan changed the title [Please don't merge me] Fix e2e tests Fix e2e tests May 21, 2020
Copy link
Contributor

@mzjp2 mzjp2 left a comment

Choose a reason for hiding this comment

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

🎉

res = run(
[context.kedro, "new", "-c", str(context.config_file)],
env=context.env,
cwd=str(context.temp_dir)
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess we don’t technically need this change, but it can’t hurt

@lorenabalan lorenabalan marked this pull request as ready for review May 22, 2020 08:26
@lorenabalan lorenabalan merged commit 90da32d into develop May 22, 2020
@lorenabalan lorenabalan deleted the fix-develop branch May 22, 2020 08:27
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.

6 participants