1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/red/runtime
Jim Turner 6baedf909d Fix #1478 - Project files are not being flushed to disk after being written (#1479)
* Call fsync() before closing file

* Fix race condition in tests due to incorrect stub.

The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().

In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.

* Test coverage for fsync() calls

For issue #1478

* Revert "Fix race condition in tests due to incorrect stub."

This reverts commit 4f71d7851b.

* Fix race condition in tests due to incorrect stub.

The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().

In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.

* Fix intermittent test failure in Exec node.

Occasionally, the error text on stderr will come in more than one piece. The test only worked correctly if a single message was received.
2017-11-17 17:29:33 +00:00
..
locales/en-US Fix #1478 - Project files are not being flushed to disk after being written (#1479) 2017-11-17 17:29:33 +00:00
nodes Fix global.keys() bug in function node (#1417) 2017-10-10 21:13:38 +01:00
storage Fix #1478 - Project files are not being flushed to disk after being written (#1479) 2017-11-17 17:29:33 +00:00
events.js Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
i18n.js Provide single endpoint to load all node message catalogs 2017-04-21 11:49:35 +01:00
index.js Add httpStatic log statement on start up 2017-07-26 11:45:49 -07:00
log.js Log error stack traces if verbose flag is set 2017-03-01 17:00:27 +00:00
settings.js Be consistent in how node settings are addressed 2017-06-29 11:17:39 +01:00
util.js Fix accessing global context from jsonata expressions 2017-07-09 10:40:23 +01:00