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

Simple8b Fails With Skip Encoding Size before word is created

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2021-07-26, Execution Team 2021-08-09

      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);
      }

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

              Created:
              Updated:
              Resolved: