[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-developers
Subject:    Re: [Mailman-Developers] Problem getting tox to use mysql
From:       Mark Sapiro <mark () msapiro ! net>
Date:       2017-10-09 0:17:43
Message-ID: e59e2f33-aa97-fe69-647e-013975a91892 () msapiro ! net
[Download RAW message or body]

On 10/08/2017 02:16 PM, Abhilash Raj wrote:
> 
> This is the command that Gitlab CI runs, the environment variable below
> is what
> mailman uses for "extra" testing config.
> 
> $ MAILMAN_EXTRA_TESTING_CFG=/home/runner/configs/mysql.cfg tox -e
> py35-nocov-mysql
> 
> The extra mysql.cfg is what holds the database configuration.


Thanks Abhilash. What I didn't realize is since I already have a mysql
server running on my dev box for other purposes, I had to use that
server and create a 'mailman' database within it and then use
appropriate credentials to access it.

I can now actually run tests using mysql. My results in this case are
different from the original issue at
<https://gitlab.com/mailman/mailman/issues/385> because my server is not
running in "strict" mode., but I can now work on the original issue
since I can actually test any fixes.

-- 
Mark Sapiro <mark@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/mailman-developers%40progressive-comp.com


Security Policy: http://wiki.list.org/x/QIA9


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic