~mvo/snapd/+git/snapd-mvo:test-update-gadget-on-classic-racy

Last commit made on 2019-06-12
Get this branch:
git clone -b test-update-gadget-on-classic-racy https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
test-update-gadget-on-classic-racy
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

1d208df... by Michael Vogt

Merge remote-tracking branch 'upstream/master' into test-update-gadget-on-classic-racy

17fb6e9... by Michael Vogt

Merge pull request #6994 from stolowski/fix-advise-dumpdb-test

tests: sort commands from DumpCommands in the dumpDbHook

a49618f... by Michael Vogt

snap: run `gofmt -w -s`

e3501f0... by Michael Vogt

devicestate: make TestUpdateGadgetOnClassicErrorsOut less racy

The test sometimes fails with:
```
----------------------------------------------------------------------
FAIL: devicestate_test.go:3237: deviceMgrSuite.TestUpdateGadgetOnClassicErrorsOut

devicestate_test.go:3261:
    c.Assert(chg.IsReady(), Equals, true)
... obtained bool = false
... expected bool = true
```

Easy to reproduce with
```
$ go test -count 100 -check.f TestUpdateGadgetOnClassicErrorsOut
```

This PR fixes this by running ensure/wait more often.

a045145... by Paweł Stołowski

Sort commands from DumpCommands in the dumpDbHook.

89d31de... by Michael Vogt

Merge pull request #6984 from stolowski/advise-snap-dumpdb-test

cmd/snap: add unit test for "advise-snap --dump-db".

94b2a05... by Michael Vogt

Merge pull request #6991 from mvo5/bootloader-test-cleanup

bootloader: remove extra mock bootloader implementation

179d5d3... by Paweł Stołowski

Merge pull request #6986 from mvo5/download-tweaks

daemon: tweak for "add api endpoint for download" PR

7657b1c... by Michael Vogt

Merge pull request #6981 from mvo5/reproducible-builds

packaging: fix reproducible build error

6aa915a... by Paweł Stołowski

Merge pull request #6989 from sergiocazzolato/tests-fix-opensuse-journalctl-checks

tests: synchronize journal logs before check logs