Postgresql testing question

51 views
Skip to first unread message

Sarah A

unread,
Oct 3, 2021, 1:07:43 PM10/3/21
to Django developers (Contributions to Django itself)
Hi folks,

I'm future new contributor (I hope so) and I'm facing a problem. 

I add tests for a ticket (#27694) which are PostgreSQL tests case. I've run all the tests in the postgres_tests file and I got failures but it's not linked to my additional tests. I've got same failures without them.

I don't know what I'm supposed to do:
Submit my contribution and create a bug ticket ?  Something else? 

Note: I don't understand completely what's happening to fix those tests.

Happy to get the right direction.

Best regards,

Carlton Gibson

unread,
Oct 3, 2021, 1:16:33 PM10/3/21
to django-d...@googlegroups.com
Hi Sarah. 👋 

If the failures are unrelated, you can ignore them for the purposes of your ticket: if you open a PR the CI will run against all configurations, so an issue should show up there. 

Maybe it’s a local config issue, but if it doesn't look that way, you can open a ticket on Trac (with the exact error and so on) or just as well follow-up with more details here.

In general, it’s not expected that the test suite fails, but without more details I can’t say for sure what’s going on. 

Kind regards, Carlton 



--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/093da5c5-fc0d-414c-b995-d2755b43036bn%40googlegroups.com.

Sarah A

unread,
Oct 3, 2021, 1:38:12 PM10/3/21
to Django developers (Contributions to Django itself)
Thanks Carlton ! 
 
Yes, it's not related, it's tests about headline search (postgres_tests.test_search.SearchHeadlineTests) 
I'll try to open a PR to see, if it's only on my side and should be my configuration or I will open a ticket with all informations related.

Carlton Gibson

unread,
Oct 3, 2021, 2:33:05 PM10/3/21
to django-d...@googlegroups.com
Hey Sarah, no problem! 

If you can’t work out why you’re seeing a failure locally, perhaps post on the forum and I’ll see if I can help out (or Ken will be me to it 😃)

Kind regards, Carlton 

Mariusz Felisiak

unread,
Oct 4, 2021, 12:03:17 AM10/4/21
to Django developers (Contributions to Django itself)
Failures are caused by the default search configuration, see https://code.djangoproject.com/ticket/29084.
Reply all
Reply to author
Forward
0 new messages