Commits

Kirill Simonov committed 66d4642

The test suite should ignore error messages produced by the database server.

Comments (0)

Files changed (1)

test/input/pgsql.yaml

         # Decimal->Integer cast overflow.
         - uri: /{integer(100000000000000000000.0)}
           expect: 409
+          ignore: true
         # Float->Integer cast overflow.
         - uri: /{integer(1e100)}
           expect: 409
+          ignore: true
         # Invalid Untyped->Integer cast.
         - uri: /{integer('X')}
           expect: 400
         # Invalid String->Integer cast.
         - uri: /{integer(string('X'))}
           expect: 409
+          ignore: true
         # Decimal cast (from untyped, string, integer, decimal and float).
         - uri: /{decimal('1.5'),decimal(string('1.5')),
                  decimal(15),decimal(1.5),decimal(15e-1)}
         # Invalid String->Decimal cast.
         - uri: /{decimal(string('X'))}
           expect: 409
+          ignore: true
         # Float cast (from untyped, string, integer, decimal and float).
         - uri: /{float('1.5'),float(string('1.5')),
                  float(15),float(1.5),float(15e-1)}
         # Invalid String->Float cast.
         - uri: /{float(string('X'))}
           expect: 409
+          ignore: true
         # Unary plus and minus.
         - uri: /{+2,+2.0,+2e0,-2,-2.0,-2e0,++1,+-1,-+1,--1}
         # Addition.
         # Division by zero.
         - uri: /{1/0}
           expect: 409
+          ignore: true
         # Addition: invalid types.
         - uri: /{1+'1'}
           expect: 400
         # Multiplication: overflow.
         - uri: /{65536*65536}
           expect: 409
+          ignore: true
         # Round for decimal values.
         - uri: /{round(65.536),round(65.536,0),
                  round(65.536,1),round(65.536,-1)}
         # Invalid string->date cast.
         - uri: /{date(string('X'))}
           expect: 409
+          ignore: true
         # Invalid integer->date cast.
         - uri: /{date(1)}
           expect: 400
         # Invalid date constructor.
         - uri: /{date(0,0,0)}
           expect: 409
+          ignore: true
         # Date arithmetic operations.
         - uri: /{date('2010-07-28')+1,date('2010-07-28')-1,
                  date('2010-07-28')-date('2009-07-28')}