Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --latest mode for replicate-logs #36

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

robinbryce
Copy link
Collaborator

this will automaticlaly run the watch to get all relevant changes.

This was requested by Jim Wilburly based on customer and partner feedback

this will automaticlaly run watch to get the latest changes
@robinbryce robinbryce force-pushed the dev/robin/10050-explicit-replicate-all branch from d6416f5 to 2f86721 Compare November 5, 2024 09:21
@robinbryce
Copy link
Collaborator Author

test evidence for systemtests on macos

banks-7:veracity robin$ ta build:fast
banks-7:veracity robin$ ls -la ./veracity
-rwxr-xr-x@ 1 robin staff 15798594 Nov 5 09:20 ./veracity
banks-7:veracity robin$ date
Tue Nov 5 09:20:37 GMT 2024
banks-7:veracity robin$ ta test:system
/Users/robin/wb/rkvst/veracity/tests/systemtest /Users/robin/wb/rkvst/veracity
testVeracityVersion
testVeracityWatchPublicFindsActivity
testVeracityReplicateLogsPublicTenantWatchPipe
testVeracityReplicateLogsPublicTenantWatchLatestFlag
testVerifySingleEvent
testVerifyListEvents
testVerifySingleEventWithLocalMassifCopy
testVerifyIncludeLocalErrorForDuplicateMassifs
testVerboseOutput
testHelpOutputNoArgs
testValidEventNotinMassif
Expected (hex):
00000000 65 72 72 6f 72 3a 20 74 68 65 20 65 6e 74 72 79 |error: the entry|
00000010 20 69 73 20 6e 6f 74 20 69 6e 20 74 68 65 20 6c | is not in the l|
00000020 6f 67 2e 20 66 6f 72 20 74 65 6e 61 6e 74 20 74 |og. for tenant t|
00000030 65 6e 61 6e 74 2f 36 65 61 35 63 64 30 30 2d 63 |enant/6ea5cd00-c|
00000040 37 31 31 2d 33 36 34 39 2d 36 39 31 34 2d 37 62 |711-3649-6914-7b|
00000050 31 32 35 39 32 38 62 62 62 34 0a |125928bbb4.|
0000005b
Actual (hex):
00000000 65 72 72 6f 72 3a 20 74 68 65 20 65 6e 74 72 79 |error: the entry|
00000010 20 69 73 20 6e 6f 74 20 69 6e 20 74 68 65 20 6c | is not in the l|
00000020 6f 67 2e 20 66 6f 72 20 74 65 6e 61 6e 74 20 74 |og. for tenant t|
00000030 65 6e 61 6e 74 2f 36 65 61 35 63 64 30 30 2d 63 |enant/6ea5cd00-c|
00000040 37 31 31 2d 33 36 34 39 2d 36 39 31 34 2d 37 62 |711-3649-6914-7b|
00000050 31 32 35 39 32 38 62 62 62 34 0a |125928bbb4.|
0000005b
testNon200Response
testMissingMassifFile
testNotBlobFile
testInvalidBlobUrl
Expected (hex):
00000000 65 72 72 6f 72 3a 20 75 6e 65 78 70 65 63 74 65 |error: unexpecte|
00000010 64 20 65 6e 64 20 6f 66 20 4a 53 4f 4e 20 69 6e |d end of JSON in|
00000020 70 75 74 0a |put.|
00000024
Actual (hex):
00000000 65 72 72 6f 72 3a 20 75 6e 65 78 70 65 63 74 65 |error: unexpecte|
00000010 64 20 65 6e 64 20 6f 66 20 4a 53 4f 4e 20 69 6e |d end of JSON in|
00000020 70 75 74 0a |put.|
00000024

Ran 15 tests.

JUnit XML file res.xml was saved.

OK

@robinbryce robinbryce changed the title add --all mode for replicate-logs add --latest mode for replicate-logs Nov 5, 2024
honourfish
honourfish previously approved these changes Nov 5, 2024
replicatelogs.go Outdated Show resolved Hide resolved
replicatelogs.go Show resolved Hide resolved
@robinbryce robinbryce merged commit 6732ec6 into main Nov 5, 2024
3 checks passed
@robinbryce robinbryce deleted the dev/robin/10050-explicit-replicate-all branch November 5, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants