Skip to content

Commit

Permalink
Disable broken test
Browse files Browse the repository at this point in the history
Summary: See comment

Reviewed By: phlalx

Differential Revision: D47334480

fbshipit-source-id: 3f30b884c9a4e3f1bffbcfcdb1e577bb011c0816
  • Loading branch information
Simon Marlow authored and facebook-github-bot committed Jul 10, 2023
1 parent 58e3005 commit 0e00a69
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion cpp-channel/thrift-cpp-channel.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ flag tests_use_ipv4
default: False
manual: True

flag include_broken_tests
description: Include broken tests
default: False
manual: True

test-suite header-channel
import: fb-haskell, fb-cpp
type: exitcode-stdio-1.0
Expand All @@ -144,8 +149,8 @@ test-suite header-channel
test/if/gen-cpp2/Calculator.cpp
test/if/gen-cpp2/AdderAsyncClient.cpp
test/if/gen-cpp2/Adder.cpp
test/if/gen-cpp2/math_data.cpp
test/if/gen-cpp2/math_types.cpp
test/if/gen-cpp2/math_data.cpp
test/if/gen-cpp2/math_metadata.cpp
extra-libraries:
thriftmetadata
Expand Down Expand Up @@ -177,3 +182,14 @@ test-suite header-channel
unordered-containers,
deepseq,
STMonadTrans

-- This test is broken when built from github. For some reason the
-- requests timeout. It seems to be a subtle timing issue of some
-- kind inside fbthrift, because I tried tracing through the code
-- using gdb and when using breakpoints the test will sometimes
-- pass. Without a deeper understanding of the internals of fbthrift
-- I can't get any further, so just ignoring the test for now. It
-- passes on the internal CI so I'm pretty sure it's not an issue
-- with the test itself.
if !flag(include_broken_tests)
buildable: False

0 comments on commit 0e00a69

Please sign in to comment.