iheanyi / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

test_execute_many.py fails #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

SINGLE_PYTHON_TEST=test_execute_many.py python tests.py 2>&1
test_execute_many (test_execute_many.IbmDbTestCase) ... FAIL

======================================================================
FAIL: test_execute_many (test_execute_many.IbmDbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib64/python2.6/site-packages/ibm_db-2.0.4.1-py2.6-linux-x86_64.egg/tests/test_execute_many.py", line 15, in test_execute_many
    obj.assert_expect(self.run_test_execute_many)
  File "/usr/local/lib64/python2.6/site-packages/ibm_db-2.0.4.1-py2.6-linux-x86_64.egg/testfunctions.py", line 75, in assert_expect
    self.assertEqual(self.capture(testFuncName), self.expected_LUW(callstack[1][1]))
AssertionError: u'410, Sanders20, Pernal30, Marenghi40, OBrien3' != '410, 
Sanders20, Pernal30, Marenghi40, OBrienError 1: Value parameter tuple: 2 has 
less no of param Error 2: Value parameters array 3 is not homogeneous with 
privious parameters array 3'

----------------------------------------------------------------------
Ran 1 test in 13.474s
FAILED (failures=1)

What is the expected output? What do you see instead?
A successful test.

What version of the product are you using? On what operating system?
ibm_db-2.0.4.1-py2.6-linux-x86_64.egg
SuSE Enterprise 11 SP1 or SP3

Please provide any additional information below.
What's the impact of the failed test?

P.S.: there's a type on the error message: privious 

Original issue reported on code.google.com by south.mi...@gmail.com on 28 Jan 2014 at 4:17

GoogleCodeExporter commented 9 years ago
Did you modified test_execute_many.py test case, Since it should raise 
exception in 2nd execute_many insert operation since there is some invalid row 
are present.

Original comment by rahul.pr...@in.ibm.com on 29 Jan 2014 at 5:54

GoogleCodeExporter commented 9 years ago
Hi Rahul,
I did not modify it, just execute it as is.

Original comment by south.mi...@gmail.com on 29 Jan 2014 at 12:21

GoogleCodeExporter commented 9 years ago
Could you please take the cliTrace and send that to us, It will help us to 
resolve the issue.

Original comment by rahul.pr...@in.ibm.com on 29 Jan 2014 at 12:26

GoogleCodeExporter commented 9 years ago
See attached trace file.

Original comment by south.mi...@gmail.com on 29 Jan 2014 at 7:06

GoogleCodeExporter commented 9 years ago
Another trace file with TraceStmtOnly=0 :)

Original comment by south.mi...@gmail.com on 29 Jan 2014 at 7:10

GoogleCodeExporter commented 9 years ago
I am not able to see any attachments, It might be due to you have sent the 
attachment through mail.
Please attach it directly through issue tracker interface.

Original comment by rahul.pr...@in.ibm.com on 3 Feb 2014 at 6:05

GoogleCodeExporter commented 9 years ago
Here it goes again.

Original comment by south.mi...@gmail.com on 3 Feb 2014 at 12:25

Attachments: