Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6250

Fix ViewMetadataIT test flapper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      ViewMetadataIT failed multi-times at 4.x branch.

      Here is the logging:

      17:32:58  [ERROR] Tests run: 25, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 353.71 s <<< FAILURE! - in org.apache.phoenix.end2end.ViewMetadataIT
      17:32:58  [ERROR] testRepeatedCreateAndDropCascadeTableWorks(org.apache.phoenix.end2end.ViewMetadataIT)  Time elapsed: 11.52 s  <<< FAILURE!
      17:32:58  java.lang.AssertionError: View SCHEMA2.N000074 should have been deleted when parent was dropped
      17:32:58  	at org.junit.Assert.fail(Assert.java:89)
      17:32:58  	at org.apache.phoenix.end2end.ViewMetadataIT.validateViewDoesNotExist(ViewMetadataIT.java:1373)
      17:32:58  	at org.apache.phoenix.end2end.ViewMetadataIT.testRepeatedCreateAndDropCascadeTableWorks(ViewMetadataIT.java:818)
      17:32:58  	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      17:32:58  	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      17:32:58  	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      17:32:58  	at java.lang.reflect.Method.invoke(Method.java:498)
      

      Attachments

        1. PHOENIX-6250.master.v3.patch
          1 kB
          Xinyi Yan
        2. PHOENIX-6250.4.x.v3.patch
          1 kB
          Xinyi Yan

        Activity

          People

            yanxinyi Xinyi Yan
            yanxinyi Xinyi Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: