From 5b346df9d109f45e494b3f1c69ccdd793e3a26ed Mon Sep 17 00:00:00 2001 From: sh0rez Date: Tue, 21 Apr 2020 14:47:05 +0200 Subject: [PATCH] test: remove flake --- cmd/jb/install_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/jb/install_test.go b/cmd/jb/install_test.go index 9b5935c..daf33a0 100644 --- a/cmd/jb/install_test.go +++ b/cmd/jb/install_test.go @@ -72,9 +72,9 @@ func testInstallCommandWithJsonnetHome(t *testing.T, jsonnetHome string) { }, { Name: "single", - URIs: []string{"github.com/grafana/loki/production/ksonnet/loki"}, + URIs: []string{"github.com/grafana/loki/production/ksonnet/loki@bd4d516262c107a0bde7a962fa2b1e567a2c21e5"}, ExpectedCode: 0, - ExpectedJsonnetFile: []byte(`{"version":1,"dependencies":[{"source":{"git":{"remote":"https://github.com/grafana/loki","subdir":"production/ksonnet/loki"}},"version":"master","single":true}],"legacyImports":true}`), + ExpectedJsonnetFile: []byte(`{"version":1,"dependencies":[{"source":{"git":{"remote":"https://github.com/grafana/loki","subdir":"production/ksonnet/loki"}},"version":"bd4d516262c107a0bde7a962fa2b1e567a2c21e5","single":true}],"legacyImports":true}`), ExpectedJsonnetLockFile: []byte(`{"version":1,"dependencies":[{"source":{"git":{"remote":"https://github.com/grafana/loki","subdir":"production/ksonnet/loki"}},"version":"bd4d516262c107a0bde7a962fa2b1e567a2c21e5","sum":"ExovUKXmZ4KwJAv/q8ZwNW9BdIZlrxmoGrne7aR64wo=","single":true}],"legacyImports":false}`), single: true, },