Skip to content

ci: add timestamp for command execution#4913

Open
ningmingxiao wants to merge 1 commit into
containerd:mainfrom
ningmingxiao:add_time
Open

ci: add timestamp for command execution#4913
ningmingxiao wants to merge 1 commit into
containerd:mainfrom
ningmingxiao:add_time

Conversation

@ningmingxiao
Copy link
Copy Markdown
Contributor

@ningmingxiao ningmingxiao commented May 18, 2026

Some test cases are time-sensitive, so timestamp information is added.

Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>

debug = append(debug,
[]any{"➡️", commandDecorator + " " + gc.cmd.Binary + " " + strings.Join(gc.cmd.Args, " ")},
[]any{"➡️", commandDecorator + " " + gc.cmd.Binary + " " + strings.Join(gc.cmd.Args, " ") + " " + time.Now().Format("2006-01-02 15:04:05.000")},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure here it is needed but its always good idea to use utc time stamps instead of local time

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.

2 participants