lordgamez commented on code in PR #2289:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2289#discussion_r4514460386


##########
extensions/opc/tests/features/resources/opcua-file-server/file_server.cpp:
##########
@@ -19,16 +19,19 @@
  * OPC UA test server exposing the files of a directory through the FileType 
and FileDirectoryType object types.
  *
  * The "Files" FileDirectoryType node (ns=1;s=Files) contains a FileType node 
(ns=1;s=<file name>) for every regular file
- * found in the directory at startup. The files are read-only.
- * The FileType methods only define an interface, so their behavior is 
implemented here.
+ * found in the directory at startup. Files created with the CreateFile method 
get a node id assigned by the server.
+ * The FileType and FileDirectoryType methods only define an interface, so 
their behavior is implemented here.
  */
 
 #include <open62541/server.h>
 #include <open62541/server_config_default.h>
+#include <unistd.h>

Review Comment:
   The OPC UA behave tests are currently only running in Linux containers so 
adding support for Windows is currently not in the scope of this PR.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to