This commit is contained in:
Balena CI 2022-05-26 23:24:26 +03:00 committed by VersionBot
parent 99d8903306
commit 55c89bb328
3 changed files with 76 additions and 1 deletions

View file

@ -1,3 +1,63 @@
- commits:
- subject: Update layers/meta-balena to 7ae427858052ddad086a32a7458e301103d02013
hash: c8e70197317f50fed55b7dc4750e58b157053e70
body: Update layers/meta-balena
footer:
Changelog-entry: Update layers/meta-balena to 7ae427858052ddad086a32a7458e301103d02013
changelog-entry: Update layers/meta-balena to 7ae427858052ddad086a32a7458e301103d02013
author: Renovate Bot
nested:
- commits:
- subject: "tests: os: config-json: fix race by waiting for InvocationID change"
hash: a8303039013b6252680eb48a139e46a358506949
body: >
When tests execute quicker, a race condition can occur where
config.json
is edited to remove the dnsServers property, but /run/dnsmasq.servers is
not changed yet. This causes the test to fail, as the file is not empty.
not ok 1 - We should have an empty /run/dnsmasq.servers file.
---
found: |-
server=1.1.1.1
server=1.1.1.1
pattern: !re /^\s?$/
diff: |
--- expected
+++ actual
-/^\s?$/
+"server=1.1.1.1\nserver=1.1.1.1"
Fix this by waiting until the InvocationID of dnsmasq.service changes.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
signed-off-by: Joseph Kogut <joseph@balena.io>
author: Joseph Kogut
nested: []
- subject: "tests: os: reformat config-json tests"
hash: 440b799974eaf237664db1813d1ebc0bff3a46b9
body: >
Reformat config-json tests w/ await where variables aren't
passed to
chained promises.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Joseph Kogut <joseph@balena.io>
signed-off-by: Joseph Kogut <joseph@balena.io>
author: Joseph Kogut
nested: []
version: meta-balena-2.98.31
title: "'Fix config json race'"
date: 2022-05-26T17:59:23.238Z
version: 2.98.31
title: "'Update layers/meta-balena digest to 7ae4278'"
date: 2022-05-26T19:59:17.128Z
- commits:
- subject: Update balena-yocto-scripts to 7b2a89987f196ec4261d240a88c1790c55b366b0
hash: 4b3528af286b56ed16150d93d2fddc6c6667d268

View file

@ -1,6 +1,21 @@
Change log
-----------
# v2.98.31
## (2022-05-26)
<details>
<summary> Update layers/meta-balena to 7ae427858052ddad086a32a7458e301103d02013 [Renovate Bot] </summary>
> ## meta-balena-2.98.31
> ### (2022-05-26)
>
> * tests: os: config-json: fix race by waiting for InvocationID change [Joseph Kogut]
> * tests: os: reformat config-json tests [Joseph Kogut]
>
</details>
# v2.98.30+rev1
## (2022-05-26)

View file

@ -1 +1 @@
2.98.30+rev1
2.98.31