You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/23 11:14:41 UTC

[GitHub] daisy-ycguo commented on issue #368: Adding unit test cases for manifest_parser.go

daisy-ycguo commented on issue #368: Adding unit test cases for manifest_parser.go
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/368#issuecomment-323903108
 
 
   @pritidesai 
   
   I run the unit test. One unit test 'TestComposeActionsForImplicitRuntimes' cannot pass successfully. Please check. Thank you. Here is the output. 
   
   ```
   ?   	github.com/apache/incubator-openwhisk-wskdeploy	[no test files]
   ok  	github.com/apache/incubator-openwhisk-wskdeploy/cmd	0.008s
   ok  	github.com/apache/incubator-openwhisk-wskdeploy/deployers	0.020s
   Error:  <nil>
   Filepath: "  "
   Package:  {   [] map[]     map[] map[] map[] map[] map[] map[] map[]}
   PackageName: "  "
   Number of Actions:  0
   Actions:  map[]
   --- FAIL: TestComposeActionsForImplicitRuntimes (0.00s)
           Error Trace:    manifest_parser_test.go:512
   	Error:		Not equal: 
   			expected: ""
   			received: "nodejs:default"
   	Messages:	Expected  but got nodejs:default
   		
   <nil>
   [{param_float_value_only 3.14} {param_string_type_and_value_only foo} {param_string_type_only } {param_string_value_only foo} {param_int_value_only 123} {param_integer_type_only 0} {param_float_type_only 0} {param_string_with_default bar} {param_integer_with_default -1} {param_float_with_default 2.9}]
   2017/08/22 02:35:39 open /home/daisy/gofolder/src/github.com/apache/incubator-openwhisk-wskdeploy/parsers/https://raw.githubusercontent.com/apache/incubator-openwhisk-wskdeploy/master/tests/usecases/helloworld/manifest.yaml: no such file or directory
   2017/08/22 02:35:39 Error happened during execution, please type 'wskdeploy -h' for help messages.
   FAIL	github.com/apache/incubator-openwhisk-wskdeploy/parsers	0.008s
   ?   	github.com/apache/incubator-openwhisk-wskdeploy/tests/src/integration/common	[no test files]
   ok  	github.com/apache/incubator-openwhisk-wskdeploy/utils	0.051s
   ?   	github.com/apache/incubator-openwhisk-wskdeploy/wski18n	[no test files]
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services