Skip to content

Commit

Permalink
Revert "add test case for json array variation values (FF-2903) (#50)"
Browse files Browse the repository at this point in the history
This reverts commit 3ba01a4.
  • Loading branch information
typotter authored Aug 6, 2024
1 parent 3ba01a4 commit 123372f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 290 deletions.
73 changes: 1 addition & 72 deletions ufc/flags-v1-obfuscated.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"createdAt": "2024-04-17T19:40:53.716Z",
"environment": {
"name": "Test"
},
"createdAt": "2024-04-17T19:40:53.716Z",
"flags": {
"73fcc84c69e49e31fe16a29b2b1f803b": {
"key": "73fcc84c69e49e31fe16a29b2b1f803b",
Expand Down Expand Up @@ -1185,77 +1185,6 @@
]
}
]
},
"858b28fb6c4573445fbcf1568527e345": {
"key": "858b28fb6c4573445fbcf1568527e345",
"enabled": true,
"variationType": "JSON",
"totalShards": 10000,
"variations": {
"b25l": {
"key": "b25l",
"value": "W3sgImludGVnZXIiOiAxLCAic3RyaW5nIjogIm9uZSIsICJmbG9hdCI6IDEuMCB9LCB7ICJpbnRlZ2VyIjogMiwgInN0cmluZyI6ICJ0d28iLCAiZmxvYXQiOiAyLjAgfV0="
},
"dHdv": {
"key": "dHdv",
"value": "W3sgImludGVnZXIiOiAzLCAic3RyaW5nIjogInRocmVlIiwgImZsb2F0IjogMy4wIH0sIHsgImludGVnZXIiOiA0LCAic3RyaW5nIjogImZvdXIiLCAiZmxvYXQiOiA0LjAgfV0="
}
},
"allocations": [
{
"key": "NTAvNTAgc3BsaXQ=",
"doLog": true,
"rules": [],
"splits": [
{
"variationKey": "b25l",
"shards": [
{
"ranges": [
{
"start": 0,
"end": 10000
}
],
"salt": "dHJhZmZpYy1qc29uLWZsYWc="
},
{
"ranges": [
{
"start": 0,
"end": 5000
}
],
"salt": "c3BsaXQtanNvbi1mbGFn"
}
]
},
{
"variationKey": "dHdv",
"shards": [
{
"ranges": [
{
"start": 0,
"end": 10000
}
],
"salt": "dHJhZmZpYy1qc29uLWZsYWc="
},
{
"ranges": [
{
"start": 5000,
"end": 10000
}
],
"salt": "c3BsaXQtanNvbi1mbGFn"
}
]
}
]
}
]
}
}
}
71 changes: 0 additions & 71 deletions ufc/flags-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1185,77 +1185,6 @@
}
],
"totalShards": 10000
},
"json-array-config-flag": {
"key": "json-array-config-flag",
"enabled": true,
"variationType": "JSON",
"variations": {
"one": {
"key": "one",
"value": "[{ \"integer\": 1, \"string\": \"one\", \"float\": 1.0 }, { \"integer\": 2, \"string\": \"two\", \"float\": 2.0 }]"
},
"two": {
"key": "two",
"value": "[{ \"integer\": 3, \"string\": \"three\", \"float\": 3.0 }, { \"integer\": 4, \"string\": \"four\", \"float\": 4.0 }]"
}
},
"allocations": [
{
"key": "50/50 split",
"rules": [],
"splits": [
{
"variationKey": "one",
"shards": [
{
"salt": "traffic-json-flag",
"ranges": [
{
"start": 0,
"end": 10000
}
]
},
{
"salt": "split-json-flag",
"ranges": [
{
"start": 0,
"end": 5000
}
]
}
]
},
{
"variationKey": "two",
"shards": [
{
"salt": "traffic-json-flag",
"ranges": [
{
"start": 0,
"end": 10000
}
]
},
{
"salt": "split-json-flag",
"ranges": [
{
"start": 5000,
"end": 10000
}
]
}
]
}
],
"doLog": true
}
],
"totalShards": 10000
}
}
}
147 changes: 0 additions & 147 deletions ufc/tests/test-json-array-config-flag.json

This file was deleted.

0 comments on commit 123372f

Please sign in to comment.