- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Test_atomicLastError (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3_test.go
See the License for the specific language governing permissions and limitations under the License. */ package factory import ( "errors" "fmt" "testing" "time" ) func Test_atomicLastError(t *testing.T) { aError := &atomicLastError{err: fmt.Errorf("initial error")} // no timestamp is always updated aError.Store(errors.New("updated error"), time.Time{}) err := aError.Load()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 29 15:58:10 UTC 2022 - 1.4K bytes - Viewed (0)