Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Write a real test for encryption sample code #281

Copy link
Copy link
@tmatsuo

Description

@tmatsuo
Issue body actions

The current test just invokes the function, but it's very nice if the test actually check if one of the operations described in the doc.

For example, you can invoke:

$ gcloud beta compute disks create example-disk --csek-key-file example-file

with the file created by the current code in the example. When I run the command above with an arbitrary file, it threw the following error:

InvalidKeyFileException: No JSON object could be decoded

IMHO, ensuring it successfully creates a disk by such a test will be a big win.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.This issue needs some love.testingtriage meI really want to be triaged.I really want to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.