Add publish step to github actions

Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
This commit is contained in:
Alistair Hey
2020-11-22 12:46:51 +00:00
committed by Alex Ellis
parent e3b18e6324
commit ca3d53c0a5
5 changed files with 98 additions and 10 deletions

View File

@ -81,7 +81,7 @@ func Test_CacheFunctionExists(t *testing.T) {
cache := FunctionCache{
Cache: make(map[string]*FunctionMeta),
Expiry: time.Millisecond * 10,
Expiry: time.Millisecond * 100,
}
cache.Set(fnName, namespace, ServiceQueryResponse{AvailableReplicas: 1})
@ -102,7 +102,7 @@ func Test_CacheFunctionExistsWithNamespace(t *testing.T) {
cache := FunctionCache{
Cache: make(map[string]*FunctionMeta),
Expiry: time.Millisecond * 10,
Expiry: time.Millisecond * 100,
}
cache.Set(fnName, namespace, ServiceQueryResponse{AvailableReplicas: 1})
@ -123,7 +123,7 @@ func Test_CacheFunctionNotExist(t *testing.T) {
cache := FunctionCache{
Cache: make(map[string]*FunctionMeta),
Expiry: time.Millisecond * 10,
Expiry: time.Millisecond * 100,
}
cache.Set(fnName, namespace, ServiceQueryResponse{AvailableReplicas: 1})