seokjin0414 commented on PR #3046: URL: https://github.com/apache/iggy/pull/3046#issuecomment-4207192125
@slbotbm I investigated further it's not a cxx bug Iggy uses a slab allocator for stream IDs (`metadata/reader.rs:202`, `vacant_key()`) so the first stream gets id=0 The original `ASSERT_GT(s.id, 0u)` was simply wrong for that reason I've added `EXPECT_EQ(list_id, single.id)` to `GetStreamsConsistentWithGetStream` instead which compares the two API results without assuming a specific value -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
