pgAdmin4: Random failure of FTS test cases due to improper randomstring creation - Mailing list pgadmin-hackers

From Navnath Gadakh
Subject pgAdmin4: Random failure of FTS test cases due to improper randomstring creation
Date
Msg-id CAOAJCYpsJGRqTkbnScpY567xVexZ7odRLyvLAC2WQFBoHQDMDw@mail.gmail.com
Whole thread Raw
Responses Re: pgAdmin4: Random failure of FTS test cases due to improper randomstring creation  (Navnath Gadakh <navnath.gadakh@enterprisedb.com>)
Re: pgAdmin4: Random failure of FTS test cases due to improper randomstring creation  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi Dave,

        Please find the attached patch for UUID creation issues with test objects for FTS configurations, FTS dictionaries and FTS parsers. Previously(refer email with subject "Build failed in Jenkins: pgadmin4-master-python27 #279" and "Build failed in Jenkins: pgadmin4-master-python33 #207"), test cases were randomly failing due to repetitions of the test object names.

In the old code we used some part of the string for creating a UUID string, but it seems that at some point that created string gets repeated and due to which test cases were failing as this was a random behavior, now it is fixed.  

Thanks.





-- 
Regards,
Navnath Gadakh

EnterpriseDB Corporation
The Enterprise PostgreSQL Company

Attachment

pgadmin-hackers by date:

Previous
From: Surinder Kumar
Date:
Subject: [pgAdmin4][Patch]: RM_2646 - Spinner icon not found error when aserver node is connected
Next
From: Navnath Gadakh
Date:
Subject: Re: pgAdmin4: Random failure of FTS test cases due to improper randomstring creation