Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58653

Simple8b Fails With Skip Encoding Size before word is created

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-07-26, Execution Team 2021-08-09

    Description

      The following test fails:
      TEST(Simple8b, LargeSkipsFirst) {
      Simple8b s8b;
      std::vector<Simple8b::Value> expectedValues;
      for(uint32_t i = 0; i < 10; i++)

      { s8b.skip(); s8b.append(64); expectedValues.push_back(\{i*2+1, 64}

      );
      } std::vector<Simple8b::Value> values = s8b.getAllInts();
      assertVectorsEqual(values, expectedValues);
      }

      Attachments

        Issue Links

          Activity

            People

              jackson.xie@mongodb.com Jackson Xie (Inactive)
              luke.bhan@mongodb.com Luke Bhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: