forked from opencontainers/runtime-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
validate: fix tests for new xeipuuv/gojsonschema
New(er) xeipuuv/gojsonschema package is trying to fetch id fields, which in the spec were looking like this: "id": "https://opencontainers.org/schema/bundle/linux" Obviously, this results in HTTP 404s, and multiple test failures. This was fixed by opencontainers/runtime-spec#945 which ended up in runtime-spec v1.0.2. Now, if we want to bump xeipuuv/gojsonschema (we do), we need to test against at least v1.0.2 of runtime-spec, for the reason explained above. Bump the spec version in all test cases, remove or fix some test cases. In particular: * remove "process is required" as it needed v1.0.0-rc5 version of spec. * remove "args is required" as args are no longer required since commit opencontainers/runtime-spec@deb4d954eafc4fc. * fixup "invalid seccomp action" error as it now also has SCMP_ACT_LOG. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
- Loading branch information
Showing
1 changed file
with
15 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters