mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 00:03:24 +00:00
Adds annotation attribute to CreateFunctionRequest
1. Add new annotation attributes which may be used by the back-end for making scheduling or routing decisions. 2. Updated tests/README.md to give clearer instructions on creating and tearing down the stack required to run the integration tests 3. Update ci.sh * Fail as soon as an error is encountered * Allow script to run locally in development environment, test if repos are already cloned etc.. * Deploy ./stack.yml used by existing integration tests Signed-off-by: Edward Wilde <ewilde@gmail.com>
This commit is contained in:
@ -34,7 +34,7 @@ func Test_InfoEndpoint_Returns_Gateway_Version_SHA_And_Message(t *testing.T) {
|
||||
gatewayInfo := &types.GatewayInfo{}
|
||||
err = json.Unmarshal([]byte(body), gatewayInfo)
|
||||
if err != nil {
|
||||
t.Log(err)
|
||||
t.Errorf("Could not unmarshal gateway info, response body:%s, error:%s", body, err.Error())
|
||||
t.Fail()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user