summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.py
AgeCommit message (Collapse)Author
2023-01-09patch 9.0.1165: tests using IPv6 sometimes failv9.0.1165James McCoy
Problem: Tests using IPv6 sometimes fail. Solution: Use getaddrinfo() and use try/catch. (James McCoy, closes #11783)
2022-04-04patch 8.2.4690: channel tests fail on MS-Windowsv8.2.4690LemonBoy
Problem: Channel tests fail on MS-Windows. Solution: Check if the AF_UNIX attribute exists. (closes #10083)
2022-04-04patch 8.2.4684: cannot open a channel on a Unix domain socketv8.2.4684LemonBoy
Problem: Cannot open a channel on a Unix domain socket. Solution: Add Unix domain socket support. (closes #10062)
2021-07-30patch 8.2.3253: channel test fails randomlyv8.2.3253Bram Moolenaar
Problem: Channel test fails randomly. Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
2021-07-01patch 8.2.3082: a channel command "echoerr" does not show anythingv8.2.3082Bram Moolenaar
Problem: A channel command "echoerr" does not show anything. Solution: Do not use silent errors when using an "echoerr" command. (closes #8494)
2020-05-17patch 8.2.0786: channel test is flaky on FreeBSDv8.2.0786Bram Moolenaar
Problem: Channel test is flaky on FreeBSD. Solution: Set the sockiet TCP_NODELAY option. Adjust expected line count in netbeans test. (Ozaki Kiichi, closes #6097)
2020-04-12patch 8.2.0557: no IPv6 support for channelsv8.2.0557Bram Moolenaar
Problem: No IPv6 support for channels. Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
2018-02-27patch 8.0.1549: various small problems in test filesv8.0.1549Bram Moolenaar
Problem: Various small problems in test files. Solution: Include small changes.
2016-12-03patch 8.0.0122v8.0.0122Bram Moolenaar
Problem: Channel test is still flaky on OS X. Solution: Add a short sleep.
2016-08-26patch 7.4.2258v7.4.2258Bram Moolenaar
Problem: Two JSON messages are sent without a separator. Solution: Separate messages with a NL. (closes #1001)
2016-03-26patch 7.4.1662v7.4.1662Bram Moolenaar
Problem: No test for an invalid Ex command on a channel. Solution: Test handling an invalid command gracefully. Avoid getting an error message, do write it to the channel log.
2016-03-26patch 7.4.1661v7.4.1661Bram Moolenaar
Problem: No test for special characters in channel eval command. Solution: Testing sending and receiving text with special characters.
2016-03-20patch 7.4.1621v7.4.1621Bram Moolenaar
Problem: Channel test doesn't work with Python 2.6. Solution: Add number in formatting placeholder. (Wiredool)
2016-03-20patch 7.4.1617v7.4.1617Bram Moolenaar
Problem: When a JSON message is split it isn't decoded. Solution: Wait a short time for the rest of the message to arrive.
2016-03-20patch 7.4.1616v7.4.1616Bram Moolenaar
Problem: Malformed channel request causes a hang. Solution: Drop malformed message. (Damien)
2016-03-05patch 7.4.1493v7.4.1493Bram Moolenaar
Problem: Wrong callback invoked for zero-id messages. Solution: Don't use the first one-time callback when the sequence number doesn't match.
2016-03-03patch 7.4.1483v7.4.1483Bram Moolenaar
Problem: A one-time callback is not used for a raw channel. Solution: Use a one-time callback when it exists.
2016-02-23patch 7.4.1398v7.4.1398Bram Moolenaar
Problem: The close-cb option is not implemented yet. Solution: Implemente close-cb. (Yasuhiro Matsumoto)
2016-02-20patch 7.4.1373v7.4.1373Bram Moolenaar
Problem: Calling a Vim function over a channel requires turning the arguments into a string. Solution: Add the "call" command. (Damien) Also merge "expr" and "eval" into one.
2016-02-20patch 7.4.1370v7.4.1370Bram Moolenaar
Problem: The Python test script may keep on running. Solution: Join the threads. (Yasuhiro Matsumoto)
2016-02-18patch 7.4.1351v7.4.1351Bram Moolenaar
Problem: When the port isn't opened yet when ch_open() is called it may fail instead of waiting for the specified time. Solution: Loop when select() succeeds but when connect() failed. Also use channel logging for jobs. Add ch_log().
2016-02-13patch 7.4.1315v7.4.1315Bram Moolenaar
Problem: Using a channel handle does not allow for freeing it when unused. Solution: Add the Channel variable type.
2016-02-10patch 7.4.1299v7.4.1299Bram Moolenaar
Problem: When the server sends a message with ID zero the channel handler is not invoked. (Christian J. Robinson) Solution: Recognize zero value for the request ID. Add a test for invoking the channel handler.
2016-02-08patch 7.4.1291v7.4.1291Bram Moolenaar
Problem: On MS-Windows the channel test server doesn't quit. Solution: Use return instead of break. (Ken Takata)
2016-02-07patch 7.4.1278v7.4.1278Bram Moolenaar
Problem: When jsonencode() fails it still returns something. Solution: Return an empty string on failure.
2016-02-05patch 7.4.1265v7.4.1265Bram Moolenaar
Problem: Not all channel commands are tested. Solution: Add a test for "normal", "expr" and "redraw".
2016-02-05patch 7.4.1264v7.4.1264Bram Moolenaar
Problem: Crash when receiving an empty array. Solution: Check for array with wrong number of arguments. (Damien)
2016-02-04patch 7.4.1256v7.4.1256Bram Moolenaar
Problem: On Mac sys.exit(0) doesn't kill the test server. Solution: Use self.server.shutdown(). (Jun Takimoto)
2016-02-03patch 7.4.1255v7.4.1255Bram Moolenaar
Problem: Crash for channel "eval" command without third argument. Solution: Check for missing argument.
2016-02-03patch 7.4.1254v7.4.1254Bram Moolenaar
Problem: Opening a second channel causes a crash. (Ken Takata) Solution: Don't re-allocate the array with channels.
2016-02-03patch 7.4.1253v7.4.1253Bram Moolenaar
Problem: Python test server not displaying second of two commands. Solaris doesn't have "pkill --full". Solution: Also echo the second command. Use "pkill -f".
2016-02-03patch 7.4.1252v7.4.1252Bram Moolenaar
Problem: The channel test server may receive two messages concatenated. Solution: Split the messages.
2016-02-03patch 7.4.1249v7.4.1249Bram Moolenaar
Problem: Crash when the process a channel is connected to exits. Solution: Use the file descriptor properly. Add a test. (Damien) Also add a test for eval().
2016-02-03patch 7.4.1248v7.4.1248Bram Moolenaar
Problem: Can't reliably stop the channel test server. Can't start the server if the python file is not executable. Solution: Use "pkill" instead of "killall". Run the python file as an argument instead of as an executable.
2016-02-03patch 7.4.1247v7.4.1247Bram Moolenaar
Problem: The channel test doesn't run on MS-Windows. Solution: Make it work on the MS-Windows console. (Ken Takata)
2016-02-02Make the python script executable.Bram Moolenaar
2016-02-02patch 7.4.1246v7.4.1246Bram Moolenaar
Problem: The channel functionality isn't tested. Solution: Add a test using a Python test server.