Return the error on failed specializations with fn test --debug (#917)
This commit is contained in:
+6
-1
@@ -124,12 +124,17 @@ func Start(port int, executorUrl string) {
|
||||
log.Fatalf("Failed to parse max retry times: %v", err)
|
||||
}
|
||||
|
||||
isDebugEnv, err := strconv.ParseBool(os.Getenv("DEBUG_ENV"))
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to parse DEBUG_ENV: %v", err)
|
||||
}
|
||||
|
||||
triggers, _, fnStore := makeHTTPTriggerSet(fmap, frmap, trmap, fissionClient, kubeClient, executor, restClient, &tsRoundTripperParams{
|
||||
timeout: timeout,
|
||||
timeoutExponent: timeoutExponent,
|
||||
keepAlive: keepAlive,
|
||||
maxRetries: maxRetries,
|
||||
})
|
||||
}, isDebugEnv)
|
||||
|
||||
resolver := makeFunctionReferenceResolver(fnStore)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user