91 Commits

Author SHA1 Message Date
Mariusz Nowak
ad9810fbc9
Merge branch 'master' into improve-promised-bdd-setup 2019-05-21 16:57:36 +02:00
Philipp Muens
25ca3bb84d Setup Travis to work with Windows / Remove AppVeyor 2019-05-21 12:34:15 +02:00
Mariusz Nowak
5208539327
Merge branch 'fix-tests-setup' into improve-promised-bdd-setup 2019-05-20 12:36:10 +02:00
Mariusz Nowak
28c1c1894a
Ensure to not leave orphaned async call 2019-05-20 12:35:27 +02:00
Mariusz Nowak
411762bc8b
Ensure to return promise 2019-05-20 09:53:55 +02:00
Mariusz Nowak
5155bbb16f
Merge branch 'master' into fix-tests-setup 2019-05-17 14:57:45 +02:00
Mariusz Nowak
c3dd6502ab
Ensure to cleanup temporary files 2019-05-16 12:48:10 +02:00
Mariusz Nowak
6fe596f735
Ensure we do not wait of stdin input in test run 2019-05-16 10:21:27 +02:00
Philipp Muens
5b5425d939 Update AWS Node.js runtime to version 10 2019-05-15 14:27:55 +02:00
Mariusz Nowak
0326d19722
Ensure no side effects 2019-05-14 13:47:32 +02:00
Mariusz Nowak
edc3138ed6
Support color output in tests 2019-05-10 17:18:45 +02:00
Deepak N
19e7b7b522 Merge remote-tracking branch 'origin/master' into bugfix/5945_invoke_local_docker_env_vars 2019-04-09 15:25:13 +05:30
Deepak N
de0e24803c Merge remote-tracking branch 'origin/master' into bugfix/5947_invoke_local_handle_dependency 2019-04-09 07:44:43 +05:30
Deepak N
10e6df83e9 Merge remote-tracking branch 'origin/master' into bugfix/5945_invoke_local_docker_env_vars 2019-04-09 07:39:14 +05:30
Deepak N
f9aae6a1c6 #5993: Ability to pass args for docker run command during invoke local docker 2019-04-03 18:50:55 +05:30
Deepak N
7a5745b1c6 #5945: Invoke local docker to pass env vars to lambda container 2019-04-02 10:01:17 +05:30
Deepak N
83465af9a2 #5947: Ensure invoke local docker runs lambda with the dependencies by using packaged artifact 2019-03-29 19:09:45 +05:30
Philipp Muens
2dbc267eac Add check if Docker daemon is running 2019-03-14 13:05:24 +01:00
Daniel Schep
af92c09335 review feedback 2019-03-06 09:27:42 -05:00
Daniel Schep
accd9316fe test covvg! 2019-03-05 16:46:59 -05:00
Daniel Schep
50d2c737fa comment out failing test for non node/java/python/ruby runtimes 2019-03-05 11:28:13 -05:00
Philipp Muens
0fd67336f7 Rework error tests 2019-02-14 16:06:18 +01:00
Tan Zhen Yong
998e8e5761 Add stack trace to error from AWS invokeLocal 2019-02-14 20:31:14 +08:00
Philipp Muens
da83822905 Fix and update tests 2019-01-22 13:01:24 +01:00
Mischa Spiegelmock
b563fb218e attempting to create a test for invoke local with profile 2019-01-16 15:58:30 +02:00
Takahiro Horike
b7936defe0
Merge pull request #5378 from medikoo/fix-error-output
Fix error log output
2018-12-31 15:48:09 +09:00
Daniel Schep
fa4ef1159a
Merge pull request #5565 from serverless/sls-5563
set env vars from --env last in invoke local
2018-12-05 14:43:36 -05:00
Daniel Schep
7a1f4ece8e fix tests for invoke lcal env vars fix 2018-12-05 11:21:42 -05:00
Dean Holdren
99c4256461 support Ruby class method as handler 2018-12-04 16:28:14 -05:00
Dean Holdren
d147db90b0 ruby support for invokeLocal 2018-12-04 13:48:45 -05:00
Daniel Schep
42e0cf4dff test invoke local support for returning value directly and fix it 2018-11-27 11:35:18 -05:00
Daniel Schep
5ffd7f4ae8 Fix invoke local when using callback in nodejs 2018-11-27 09:52:50 -05:00
Sean O'Hollaren
45683ad808 Fix bug where code attempted to parse data / context objects when they were not supplied 2018-11-21 12:16:43 -08:00
Mariusz Nowak
c1173e2e31 Cover handler crash error reporting with test 2018-10-18 17:27:28 +02:00
Lewis Chung
0a9006927b Fix test failure on Node 4 by not using spread 2018-07-01 13:41:30 -07:00
Lewis Chung
e48f1dada5 fix lint 2018-05-30 11:34:42 -07:00
Lewis Chung
15e506196f Fix test cases for callback + context.done 2018-05-30 11:32:56 -07:00
Lewis Chung
48a249500b Add more test cases 2018-05-29 16:51:47 -07:00
Lewis Chung
202fcbd8a7 Fix lint on Node 8 2018-04-17 10:24:02 -07:00
Lewis Chung
e29b6e7d07 Fix handling of maybeThennable 2018-04-17 10:11:56 -07:00
Lewis Chung
82278d351d change promise handling to check if return value is a promise rather than checking runtime 2018-04-17 09:49:28 -07:00
Lewis Chung
b000bbabdb Support AWS Lambda Node 8.10 Async Await Lambda Functions 2018-04-16 23:48:10 -07:00
GuruRAM
a2e62373e4 #4852 "should throw when module loading error" unit test improvement 2018-04-04 20:39:23 +03:00
GuruRAM
cf1260a372 #4852 fix by rethrowing a module loading exception in aws invoke local 2018-04-03 23:13:04 +03:00
Jesús A. Álvarez
d9c986e97f pass handler name to java 2017-12-20 16:21:59 +01:00
Erik Erikson
ca5ba8daac Remove unused parameters in platform.js (and deal with consequences)
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Erik Erikson
bf8d57fa9f Improve Stage and Region Usage
Remove the errant (but understandable) distributed usage of region and stage settings.  This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting.  Instead, all code should use the centralized algorithm for determining such values.  This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -08:00
Philipp Muens
ff03b89c2f Minor fixes to avoid race conditions 2017-09-18 11:06:14 +02:00
Rafal Wilinski
5e8d67ce4b Code review fixes 2017-09-13 10:59:14 +02:00
Rafal Wilinski
0423c6e228 Improve tests coverage, add documentation 2017-09-06 12:43:34 +02:00