Skip to content

Commit

Permalink
test/t_istream_tee: disable bucket tests as well
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Aug 17, 2023
1 parent 4ea4a0f commit 9d0333a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/t_istream_tee.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ using std::string_view_literals::operator""sv;
class IstreamTeeTestTraits {
public:
static constexpr IstreamFilterTestOptions options{
.enable_buckets = false, // TODO enable this once TeeIstream::_ConsumeBucketList() is implemented properly
};

UnusedIstreamPtr CreateInput(struct pool &pool) const noexcept {
Expand Down Expand Up @@ -312,6 +313,9 @@ TEST(TeeIstream, Error4)
test_error(false, true, true);
}

#if 0
// TODO enable this once TeeIstream::_ConsumeBucketList() is implemented properly

static void
test_bucket_error(bool close_second_early,
bool close_second_late)
Expand Down Expand Up @@ -374,3 +378,5 @@ TEST(TeeIstream, BucketError3)
{
test_bucket_error(false, true);
}

#endif

0 comments on commit 9d0333a

Please sign in to comment.