1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
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 4f71d7851bfc7e948a037c43f4b070f80c10d65c.

* 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
2017-10-08 14:04:35 +01:00
2013-09-05 15:07:01 +01:00
2015-07-02 10:49:39 +01:00
2017-06-23 21:49:35 +01:00
2017-07-23 17:32:27 +01:00
2016-04-07 21:51:12 +01:00
2016-12-09 13:35:29 +00:00
2017-06-26 13:55:22 +01:00
2017-09-07 21:58:29 +01:00
2017-09-21 13:37:34 +01:00

Node-RED

http://nodered.org

Build Status Coverage Status

A visual tool for wiring the Internet of Things.

Node-RED: A visual tool for wiring the Internet of Things

Quick Start

Check out http://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g node-red
  2. node-red
  3. Open http://localhost:1880

Getting Help

More documentation can be found here.

For further help, or general discussion, please use the mailing list.

Developers

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/node-red/node-red.git
     cd node-red
    
  2. Install the node-red dependencies

     npm install
    
  3. Build the code

     npm run build
    
  4. Run

     npm start
    

    or

     node red.js
    

Contributing

Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team.

Authors

Node-RED is a project of the JS Foundation.

It was created by IBM Emerging Technology.

Copyright JS Foundation and other contributors, http://js.foundation under the Apache 2.0 license.

Description
No description provided
Readme
Languages
JavaScript 99.7%
HTML 0.3%