Skip to content

fix: skip unit test that is failing in master for test-postgres-hive#11196

Merged
betodealmeida merged 7 commits into
apache:masterfrom
betodealmeida:fix_9785667
Oct 8, 2020
Merged

fix: skip unit test that is failing in master for test-postgres-hive#11196
betodealmeida merged 7 commits into
apache:masterfrom
betodealmeida:fix_9785667

Conversation

@betodealmeida
Copy link
Copy Markdown
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
Copy Markdown

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.

Comment thread tests/datasets/api_tests.py Outdated
back_references=False,
include_defaults=False,
)
print(cli_export)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

dd

Copy link
Copy Markdown
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
Comment thread tests/datasets/api_tests.py Outdated
@betodealmeida betodealmeida requested a review from dpgaspar October 8, 2020 15:58
@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 First shipped in 1.0.0 labels Mar 12, 2024
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
…pache#11196)

* Get full diff

* Test

* Test

* Test

* Test

* Test

* Explicitly detect backend to skip test
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 First shipped in 1.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants