HBase
  1. HBase
  2. HBASE-9981

[0.94] Add tests that verify wire compatibility with the previous release

    Details

    • Type: Test Test
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.94.14
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Over on HBASE-9834 LarsH suggested:

      I now wonder how we can write a test to catch these.
      Maybe generate a file will all kinds of a objects, save that. Then
      read that back
      regenerate and make sure it's identical
      that way we ensured that neither readFields nor write has changed.

      We can find all readField/writeFields in the code and generate files for use comparing changes against serializations produced by the previous release.

        Activity

        Hide
        Andrew Purtell added a comment -

        Damn, second time today I collided with Lars.

        Show
        Andrew Purtell added a comment - Damn, second time today I collided with Lars.
        Hide
        Lars Hofhansl added a comment -

        Show
        Lars Hofhansl added a comment -

          People

          • Assignee:
            Andrew Purtell
            Reporter:
            Andrew Purtell
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development