Fixes the issue with fn test and adds relevant test cases, fixes #650 (#651)

* Fixes the issue with fn test and adds relevant test cases, fixes #650
* Checking log size for invalid function
* Testing the invalid function logs a few time beforr quitting
* Disabling the test for now, linked to issue #653
This commit is contained in:
Vishal
2018-04-30 14:14:46 +08:00
committed by Ta-Ching Chen
parent dec4a39c15
commit 0aff2f214d
4 changed files with 82 additions and 1 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func printPodLogs(c *cli.Context) error {
fatal("Need --name argument.")
}
queryURL, err := url.Parse(c.GlobalString("server"))
queryURL, err := url.Parse(getServerUrl())
checkErr(err, "parse the base URL")
queryURL.Path = fmt.Sprintf("/proxy/logs/%s", fnName)