pulumi/sdk/nodejs/tests/runtime/langhost/cases
Sean Gillespie a0cf415179
Fix an issue with NodeJS host logging (#1819)
* Fix an issue with NodeJS host logging

Related to pulumi/pulumi#1694. This issue prevented the language host
from being aware that an engine (logging endpoint) was available and
thus no log messages were sent to the engine. By default, the language
host wrote them to standard out instead, which resulted in a pretty bad
error experience.

This commit fixes the PR and adds machinery to the NodeJS langhost tests
for testing the engine RPC endpoint. It is now possible to give a "log"
function to tests which will be hooked up to the "log" RPC endpoint
normally provided by the Pulumi engine.

* Remove accidental console.log
2018-08-24 16:50:09 -07:00
..
000.empty Implement free variable calculations 2017-09-04 11:35:21 -07:00
001.one_resource Add auto-parenting 2017-10-15 04:38:26 -07:00
002.ten_resources Add auto-parenting 2017-10-15 04:38:26 -07:00
003.one_complex_resource Resolve missing outputs as `undefined`. (#1427) 2018-05-24 11:22:08 -07:00
004.ten_complex_resources Introduce Output<T> and update Resource construction code to properly handle it. (#834) 2018-02-05 14:44:23 -08:00
005.resource_thens Introduce Output<T> and update Resource construction code to properly handle it. (#834) 2018-02-05 14:44:23 -08:00
006.asset Add auto-parenting 2017-10-15 04:38:26 -07:00
007.promises_io Add auto-parenting 2017-10-15 04:38:26 -07:00
008.ten_depends_on_resources Add auto-parenting 2017-10-15 04:38:26 -07:00
009.invoke Pass "special" properties to `Invoke`. (#1277) 2018-05-01 15:05:42 -07:00
010.runtime_settings Allow multiple Pulumi SDKs side-by-side (#1132) 2018-04-07 08:02:59 -07:00
011.unhandled_error Add a test. 2017-12-13 17:30:43 -08:00
012.assets_archive Test the asset deserialization changes from #677. 2017-12-08 15:37:30 -08:00
013.unhandled_promise_rejection Add a test. 2017-12-13 17:30:43 -08:00
014.read_resource Simplify resource lookup (#1133) 2018-04-07 10:15:58 -07:00
015.runtime_sxs Fix SxS config (#1175) 2018-04-13 11:26:01 -07:00
016.promise_leak Improve the promise leak experience (#1374) 2018-05-17 15:32:39 -07:00
017.parent_defaults Pull default options from a resource's parent. (#1748) 2018-08-10 16:18:21 -07:00
018.logging Fix an issue with NodeJS host logging (#1819) 2018-08-24 16:50:09 -07:00