This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Commit db2b8eb
Baha Shaaban
[FAB-12464] z build failing due to Integration error
It seems the z build returns a deterministic random value
when calling rand.Intn(n) which results in tests generating
the same values for install/instantiate CCs.
This fix adds a time based seed to ensure the random value
is non deterministic
Change-Id: I88dd8a31bca6acd563b41ca68ba5e9c0d03784be
Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com>1 parent e0602c4 commit db2b8eb
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | | - | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments