fix(redis): tolerate proxy cluster hash field ttl rejections
This commit is contained in:
3 files changed
+145
-6
No files matched your search
@@ -1241,6 +1241,16 @@ describe("RedisKeyBrowser command console echo", () => {
|
||||
});
|
||||
|
||||
describe("RedisKeyBrowser expiry creation", () => {
|
||||
it("opens the create-key dialog with an empty key name", async () => {
|
||||
mountBrowser();
|
||||
await settle();
|
||||
|
||||
requiredElement<HTMLButtonElement>('button[title="redis.createKey"]').click();
|
||||
await settle();
|
||||
|
||||
expect(requiredElement<HTMLInputElement>('input[placeholder="redis.createKeyNamePlaceholder"]').value).toBe("");
|
||||
});
|
||||
|
||||
it.each(["string", "hash", "list", "set", "zset", "stream", "json"] as const)("writes %s before applying one relative TTL", async (type) => {
|
||||
mountBrowser();
|
||||
await settle();
|
||||
|
||||
@@ -2930,7 +2930,7 @@ defineExpose({ focusSearch, insertCommand, executeCommand: executeAiCommand });
|
||||
<Loader2 v-if="loading" class="h-3 w-3 animate-spin" />
|
||||
<RefreshCw v-else class="h-3 w-3" />
|
||||
</Button>
|
||||
<Button variant="ghost" size="icon" class="h-6 w-6 shrink-0" :title="t('redis.createKey')" @click="openCreateKeyDialog">
|
||||
<Button variant="ghost" size="icon" class="h-6 w-6 shrink-0" :title="t('redis.createKey')" @click="openCreateKeyDialog()">
|
||||
<Plus class="h-3 w-3" />
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user