You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/07/17 21:42:59 UTC

[GitHub] [incubator-superset] graceguo-supercat commented on issue #7880: [migration] add unique constraint on dashboard_slices table

graceguo-supercat commented on issue #7880: [migration] add unique constraint on dashboard_slices table
URL: https://github.com/apache/incubator-superset/pull/7880#issuecomment-512580159
 
 
   @mistercrunch This PR always failed at a postgres unit test. But i am not sure this is related to my code change. Do you have a clue why it is failing? thanks!
   
   ```
   ======================================================================
   FAIL: test_export_2_dashboards (tests.import_export_tests.ImportExportTests)
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File "/home/travis/build/apache/incubator-superset/tests/import_export_tests.py", line 259, in test_export_2_dashboards
       self.assert_dash_equals(world_health_dash, exported_dashboards[1])
     File "/home/travis/build/apache/incubator-superset/tests/import_export_tests.py", line 151, in assert_dash_equals
       self.assert_slice_equals(e_slc, a_slc)
     File "/home/travis/build/apache/incubator-superset/tests/import_export_tests.py", line 190, in assert_slice_equals
       self.assertEquals(expected_slc.viz_type, actual_slc.viz_type)
   AssertionError: 'big_number' != 'filter_box'
   - big_number
   + filter_box
       """Fail immediately, with the given message."""
   >>  raise self.failureException("'big_number' != 'filter_box'\n- big_number\n+ filter_box\n")
   ```
       
   -------------------- >> begin captured logging << --------------------

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org