unit tests slow

Jesus M. Rodriguez jesusr at redhat.com
Tue Mar 30 16:16:55 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hibernate was configured to use log4j recently, and our rootLogger
was configured at DEBUG causing EVERYTHING to log.

   rootLogger = DEBUG - 2m22.025s

Changing rootLogger to WARN helps a lot:

   rootLogger = WARN - 31.567s

Changing the output format to use %c instead of %C:

   ConversionPattern=...%c... - 30.461s

This is still with org.fedorahosted.candlepin=DEBUG so we
still see all of our debug output if we want.

jesus

PS my times were all running 'buildr clean test > output'
slightly higher times if you output to the terminal.

- -- 
jesus m. rodriguez          | jesusr at redhat.com
principal software engineer | irc: zeus
red hat systems management  | 919.754.4413 (w)
rhce # 805008586930012      | 919.623.0080 (c)
+---------------------------------------------+
|   "Those who cannot remember the past       |
|    are condemned to repeat it."             |
|                        -- George Santayana  |
+---------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkuyI/cACgkQvJZ57YntiYNG0gCeKrIyKE8YXn7fWnv2p7RTz4Y8
OPYAoLBFS88yFiMgiev6ENB3newtcvX7
=d7Wp
-----END PGP SIGNATURE-----



More information about the candlepin mailing list