Comment OpenAPI tests that time out

These should be run locally for now.
This commit is contained in:
steve-chavez
2019-04-05 19:10:00 -05:00
committed by Steve Chávez
parent fe56029f61
commit 40b004c9f7
2 changed files with 7 additions and 4 deletions
+4 -2
View File
@@ -1,6 +1,7 @@
module Feature.ProxySpec where
import Test.Hspec
import Test.Hspec hiding (pendingWith)
import Test.Hspec.Wai
import SpecHelper
@@ -11,5 +12,6 @@ import Protolude
spec :: SpecWith Application
spec =
describe "GET / with proxy" $
it "returns a valid openapi spec with proxy" $
it "returns a valid openapi spec with proxy" $ do
pendingWith "Test timing out frequently on CI, please run locally"
validateOpenApiResponse [("Accept", "application/openapi+json")]
+3 -2
View File
@@ -1,6 +1,6 @@
module Feature.StructureSpec where
import Test.Hspec
import Test.Hspec hiding (pendingWith)
import Test.Hspec.Wai
import Network.HTTP.Types
@@ -21,7 +21,8 @@ spec :: SpecWith Application
spec = do
describe "OpenAPI" $ do
it "root path returns a valid openapi spec" $
it "root path returns a valid openapi spec" $ do
pendingWith "Test timing out frequently on CI, please run locally"
validateOpenApiResponse [("Accept", "application/openapi+json")]
it "should respond to openapi request on none root path with 415" $