Comment OpenAPI tests that time out
These should be run locally for now.
This commit is contained in:
committed by
Steve Chávez
parent
fe56029f61
commit
40b004c9f7
@@ -1,6 +1,7 @@
|
|||||||
module Feature.ProxySpec where
|
module Feature.ProxySpec where
|
||||||
|
|
||||||
import Test.Hspec
|
import Test.Hspec hiding (pendingWith)
|
||||||
|
import Test.Hspec.Wai
|
||||||
|
|
||||||
import SpecHelper
|
import SpecHelper
|
||||||
|
|
||||||
@@ -11,5 +12,6 @@ import Protolude
|
|||||||
spec :: SpecWith Application
|
spec :: SpecWith Application
|
||||||
spec =
|
spec =
|
||||||
describe "GET / with proxy" $
|
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")]
|
validateOpenApiResponse [("Accept", "application/openapi+json")]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module Feature.StructureSpec where
|
module Feature.StructureSpec where
|
||||||
|
|
||||||
import Test.Hspec
|
import Test.Hspec hiding (pendingWith)
|
||||||
import Test.Hspec.Wai
|
import Test.Hspec.Wai
|
||||||
import Network.HTTP.Types
|
import Network.HTTP.Types
|
||||||
|
|
||||||
@@ -21,7 +21,8 @@ spec :: SpecWith Application
|
|||||||
spec = do
|
spec = do
|
||||||
|
|
||||||
describe "OpenAPI" $ 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")]
|
validateOpenApiResponse [("Accept", "application/openapi+json")]
|
||||||
|
|
||||||
it "should respond to openapi request on none root path with 415" $
|
it "should respond to openapi request on none root path with 415" $
|
||||||
|
|||||||
Reference in New Issue
Block a user