~adam-collard/maas:faster-unit-tests

Last commit made on 2022-03-08
Get this branch:
git clone -b faster-unit-tests https://git.launchpad.net/~adam-collard/maas
Only Adam Collard can upload to this branch. If you are Adam Collard please log in for upload directions.

Branch merges

Branch information

Name:
faster-unit-tests
Repository:
lp:~adam-collard/maas

Recent commits

9ddbdf9... by Adam Collard

[ack's review] dedent, use Path.read_text()

5eb672d... by Adam Collard

Add go faster stripes to postgresfixture

67e0f9e... by Adam Collard

Use random.choices for weighted items

023bf1d... by Anton Troyanov

Use single style for batch operations

fc68e99... by Björn Tillenius

Disable notifications triggers when generating events in sampledata.

The notification triggers don't provide any value for sampledata
generation, but at least for events they slow down things a lot.

f0a1136... by Alexsander de Souza

add count and stratify methods

- count returns the number of rows in a table (using filters)
- stratify count the number of rows grouped by a given field

52de14a... by Alexsander de Souza

disable timeouts to avoid flakiness

20c270a... by Alberto Donato

create sampledata tags in bulk

2efda97... by Alberto Donato

create less sampledata events for machines

57122b1... by Alberto Donato

document command to manually import sampledata db