Commits

Anonymous committed 9d7e0ba

Added an additional test in the pgbouncer unit test.

Comments (0)

Files changed (1)

UnitTests/Sources/PGTSPgBouncerTests.m

 	strncpy(sessionid, PQgetvalue(res, 0, 0), sizeof(sessionid));
 	PQclear(res);
 	
+	MKCAssertTrue(strlen(sessionid) == 32);
+	
 	/* Begin a transansaction and memorize its txid. */
 	res = PQexec(conn1, "BEGIN");
 	MKCAssertTrue(res && PQresultStatus(res) == PGRES_COMMAND_OK);