Skip to content

Conversation

@brbzull0
Copy link
Contributor

@brbzull0 brbzull0 commented Feb 3, 2022

The idea of this change is to let traffic_server and traffic_ctl use the runroot file by defaut in the tests, this can be disable when calling MakeATSProcess with dump_runroot=False.
This change also:

  • Removes the previous and ambiguos way to set up the runroot, which it was introduced in 10-Dev only.
  • Updates docs.

Note:
I am expecting the regex_revalidate_miss test to fail, it seems to be a transient error when updating the config file which is not picked up properly by the config reloader as the two versions shows the same timestamp. There is another PR to fix this.

@brbzull0 brbzull0 marked this pull request as ready for review February 3, 2022 15:20
@brbzull0 brbzull0 requested a review from bryancall as a code owner February 3, 2022 15:20
@brbzull0 brbzull0 self-assigned this Feb 3, 2022
@brbzull0 brbzull0 marked this pull request as draft February 3, 2022 15:28
@brbzull0
Copy link
Contributor Author

brbzull0 commented Feb 3, 2022

[approve ci autest]

…ill dump the file in the config folder by default, it can be disabled by parameter if needed.

With this change I am also removing the need to specify the runroot file when calling traffic_ctl(jsonrpc).
Base on this change all the tests were adjusted.
@brbzull0 brbzull0 force-pushed the dmeden/create_runroot_file_for_autests branch from 1e76a28 to 77427b8 Compare February 4, 2022 12:32
@brbzull0 brbzull0 added AuTest Documentation JSONRPC JSONRPC 2.0 related work. labels Feb 4, 2022
@brbzull0 brbzull0 modified the milestones: 10-Dev, 10.0.0 Feb 4, 2022
@brbzull0 brbzull0 force-pushed the dmeden/create_runroot_file_for_autests branch from 77427b8 to 2f2a932 Compare February 4, 2022 12:52
@brbzull0 brbzull0 requested a review from bneradt February 4, 2022 13:47
@brbzull0 brbzull0 marked this pull request as ready for review February 4, 2022 13:50
@brbzull0
Copy link
Contributor Author

brbzull0 commented Feb 4, 2022

[Feb  4 13:14:22.315] [ET_TASK 1] DIAG: (regex_revalidate) In config Handler
[Feb  4 13:14:22.315] [ET_TASK 1] DIAG: (regex_revalidate) File mod time is not newer: 1643980462 >= 1643980462
[Feb  4 13:14:22.315] [ET_TASK 1] DIAG: (regex_revalidate) No Changes

#8644 should fix this. I can rebase this PR after the other is merged in.

@brbzull0 brbzull0 modified the milestones: 10.0.0, 10-Dev Feb 4, 2022
@randall
Copy link
Contributor

randall commented Feb 5, 2022

[approve ci autest]

@brbzull0 brbzull0 merged commit 86549bf into apache:10-Dev Feb 7, 2022
ywkaras pushed a commit to ywkaras/trafficserver that referenced this pull request Jul 7, 2022
…ill dump the file in the config folder by default, it can be disabled by parameter if needed. (apache#8641)

With this change I am also removing the need to specify the runroot file when calling traffic_ctl(jsonrpc).
Base on this change all the tests were adjusted.

(cherry picked from commit 86549bf)

Conflicts:
	doc/appendices/command-line/traffic_ctl_jsonrpc.en.rst
	tests/gold_tests/pluginTest/lua/lua_states_stats.test.py
@zwoop zwoop modified the milestones: 10-Dev, 10.0.0 Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AuTest Documentation JSONRPC JSONRPC 2.0 related work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants