Encountered on ADS 14-beta-80.
Trying to create test case for automated regression testing (pls refer to attached inserts.txt file), for the following test condition
insert into trash values ()
\go
# Syntax error on input SQL `insert into trash values ()`: The INSERT statement requires at least one input document.
when I try to run the test case, it fails and in the 'inserts.mongo.diff' file (attached), I notice
........................................
+fluidshell: /home/ravi/ADStudioUnitTests/mongo-tests/results/inserts.mongo.txt: Script error on line 30
........................................
Could you please inform what I might be doing wrong here? Thanks
|
113 KB
![]() |
960 B
![]() |
1 KB
The following line indicates there is an error in your script, and it is normal in your case because you are testing an error condition.
+fluidshell: /home/ravi/ADStudioUnitTests/mongo-tests/results/inserts.mongo.txt: Script error on line 30
What you need to do is to add the following ##ignore-lines directive in your script so that the above line is ignored when comparing the actual output with the expected output.
##ignore-lines fluidshell
Issue #9760 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
The following line indicates there is an error in your script, and it is normal in your case because you are testing an error condition.
+fluidshell: /home/ravi/ADStudioUnitTests/mongo-tests/results/inserts.mongo.txt: Script error on line 30
What you need to do is to add the following ##ignore-lines directive in your script so that the above line is ignored when comparing the actual output with the expected output.
##ignore-lines fluidshell