Alter 'make test' to use dtr's --mem option

Bug #675755 reported by Patrick Crews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Patrick Crews
7.0
Fix Released
Medium
Patrick Crews

Bug Description

Using the --mem option will allow our test suite to run *much* faster - 615s vs. 2252s on average.

We need to alter tests/include.am + test files + test-run.pl as needed to make this happen.

Related branches

Revision history for this message
Patrick Crews (patrick-crews) wrote :
Changed in drizzle:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Patrick Crews (patrick-crews)
Revision history for this message
Stewart Smith (stewart) wrote : Re: [Bug 675755] [NEW] Alter 'make test' to use dtr's --mem option

On Mon, 15 Nov 2010 21:29:28 -0000, Patrick Crews <email address hidden> wrote:
> Using the --mem option will allow our test suite to run *much* faster -
> 615s vs. 2252s on average.

libeatmydata?

--
Stewart Smith

Revision history for this message
Patrick Crews (patrick-crews) wrote :

https://bugs.launchpad.net/drizzle/+bug/675777
Making that a separate bug. We already have 99% of what we need to have
make test working with mem and can speed life up a bit.

libeatmydata is on the radar, but I wanted to get the working bits in there
and build on them : )

On Mon, Nov 15, 2010 at 9:02 PM, Stewart Smith <email address hidden>wrote:

> On Mon, 15 Nov 2010 21:29:28 -0000, Patrick Crews <
> <email address hidden>> wrote:
> > Using the --mem option will allow our test suite to run *much* faster -
> > 615s vs. 2252s on average.
>
> libeatmydata?
>
> --
> Stewart Smith
>
> --
> Alter 'make test' to use dtr's --mem option
> https://bugs.launchpad.net/bugs/675755
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in A Lightweight SQL Database for Cloud Infrastructure and Web
> Applications: Confirmed
>
> Bug description:
> Using the --mem option will allow our test suite to run *much* faster -
> 615s vs. 2252s on average.
>
> We need to alter tests/include.am + test files + test-run.pl as needed to
> make this happen.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/drizzle/+bug/675755/+subscribe
>

Changed in drizzle:
status: Confirmed → Fix Committed
Revision history for this message
Patrick Crews (patrick-crews) wrote :

Linked branch contains python test-runner implementation.
By default, we try to symlink our workdir to a shm location, and failover to normal file system if we can't find anything

./test-run.py --suite=main update key
13 Jan 2011 12:57:52 INFO: Using Drizzle source tree:
13 Jan 2011 12:57:52 INFO: basedir: drizzle
13 Jan 2011 12:57:52 INFO: clientbindir: drizzle/client
13 Jan 2011 12:57:52 INFO: testdir: drizzle/tests
13 Jan 2011 12:57:52 INFO: server_version: 2011.01.2070
13 Jan 2011 12:57:52 INFO: server_compile_os: unknown-linux-gnu
13 Jan 2011 12:57:52 INFO: server_platform: x86_64
13 Jan 2011 12:57:52 INFO: server_comment: (Source distribution (drizzle-build))
13 Jan 2011 12:57:52 INFO: Linking workdir drizzle/tests/dtr_work to /dev/shm/dtr_work_sym

Changed in drizzle:
milestone: none → future
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

Fixed in new python based test runner

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.