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: skip unit test that is failing in master for test-postgres-hive #11196

Merged
merged 7 commits into from
Oct 8, 2020

Conversation

betodealmeida
Copy link
Member

@betodealmeida betodealmeida commented Oct 7, 2020

SUMMARY

Merging #11098 made a unit test start failing in master (9785667). Since the unit test is bypassed out for Presto, I added code to bypass it when the birth_names table is not found in the export.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

NA

TEST PLAN

Unit tests now pass in CI.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@codecov-io
Copy link

codecov-io commented Oct 7, 2020

Codecov Report

Merging #11196 into master will decrease coverage by 9.67%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11196      +/-   ##
==========================================
- Coverage   65.43%   55.75%   -9.68%     
==========================================
  Files         829      402     -427     
  Lines       39200    13338   -25862     
  Branches     3693     3389     -304     
==========================================
- Hits        25649     7437   -18212     
+ Misses      13444     5714    -7730     
- Partials      107      187      +80     
Flag Coverage Δ
#cypress 55.75% <ø> (-0.11%) ⬇️
#javascript ?
#python ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset-frontend/src/components/FlashProvider.tsx
superset/security/__init__.py
...rontend/src/dashboard/util/componentIsResizable.ts
superset/db_engine_specs/kylin.py
.../versions/c3a8f8611885_materializing_permission.py
...end/src/components/Select/WindowedSelect/index.tsx
.../src/explore/components/controls/SelectControl.jsx
...perset-frontend/src/datasource/DatasourceModal.tsx
...erset-frontend/src/SqlLab/components/SouthPane.jsx
...ntend/src/components/Checkbox/Checkbox.stories.jsx
... and 1221 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9785667...493af4c. Read the comment docs.

@@ -864,13 +865,15 @@ def test_export_dataset(self):
back_references=False,
include_defaults=False,
)
print(cli_export)
Copy link
Member

Choose a reason for hiding this comment

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

dd

Copy link
Member Author

Choose a reason for hiding this comment

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

I added that to debug, since I'm having trouble reproduce the error locally. Will remove after.

@betodealmeida betodealmeida changed the title [WIP] fix unit tests that failed in 9785667 fix: skip unit test that is failing in master for test-postgres-hive Oct 8, 2020
@betodealmeida betodealmeida merged commit b6728d8 into apache:master Oct 8, 2020
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
…pache#11196)

* Get full diff

* Test

* Test

* Test

* Test

* Test

* Explicitly detect backend to skip test
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.0.0 labels Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants