working commit

This commit is contained in:
2026-02-14 21:17:15 +02:00
parent 29524e725b
commit 3b6be8033e
24 changed files with 514 additions and 39 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ import (
"sigs.k8s.io/yaml"
)
func xxxTestAccountLife(t *testing.T) {
func TestAccountLife(t *testing.T) {
var srvport int64 = 10250
srvdir := t.TempDir()
srvaddr := fmt.Sprintf("mstore:mstore@127.0.0.1:%d", srvport)
-1
View File
@@ -111,7 +111,6 @@ func TestFileLife(t *testing.T) {
require.True(t, exists)
require.NotNil(t, file)
}
return
{
// GetFile
fmt.Printf("=== GetFile ===\n")
+1 -4
View File
@@ -98,11 +98,8 @@ func TestImageLife(t *testing.T) {
fmt.Printf("=== DeleteImage ===\n")
cli := client.NewClient()
ctx, _ := context.WithTimeout(context.Background(), 1*time.Second)
info, err := cli.DeleteImage(ctx, srvaddr+"/foo/test:123")
err := cli.DeleteImage(ctx, srvaddr+"/foo/test:123")
require.NoError(t, err)
infoYaml, err := yaml.Marshal(info)
require.NoError(t, err)
fmt.Printf("deleteImage:\n%s\n", string(infoYaml))
}
}